[Issue 7108] ICE: TraitsExp::semantic(Scope*) 2.056 -> 2.057 regression - segfault

2011-12-15 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7108 Walter Bright changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Issue 7108] ICE: TraitsExp::semantic(Scope*) 2.056 -> 2.057 regression - segfault

2011-12-14 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7108 Kenji Hara changed: What|Removed |Added Keywords||ice-on-valid-code, patch Platfor

[Issue 7108] ICE: TraitsExp::semantic(Scope*) 2.056 -> 2.057 regression - segfault

2011-12-14 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7108 --- Comment #5 from pelo 2011-12-14 07:30:41 PST --- (In reply to comment #4) > Thanks. I'll post a patch to fix it. Thanks. I'll test your patch against my code when it's available. -- Configure issuemail: http://d.puremagic.com/issues/use

[Issue 7108] ICE: TraitsExp::semantic(Scope*) 2.056 -> 2.057 regression - segfault

2011-12-14 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7108 --- Comment #4 from Kenji Hara 2011-12-14 07:26:35 PST --- Thanks. I'll post a patch to fix it. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---

[Issue 7108] ICE: TraitsExp::semantic(Scope*) 2.056 -> 2.057 regression - segfault

2011-12-14 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7108 --- Comment #2 from pelo 2011-12-14 07:23:09 PST --- (In reply to comment #1) > I found a null dereference bug in TraitsExp::semantic(). > Following code kills dmd. > > static assert(!__traits(hasMember, int, "x")); > > In your environment, c

[Issue 7108] ICE: TraitsExp::semantic(Scope*) 2.056 -> 2.057 regression - segfault

2011-12-14 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7108 --- Comment #3 from pelo 2011-12-14 07:24:29 PST --- Back trace to your simplified case above: #0 0x00520227 in TraitsExp::semantic(Scope*) () (gdb) bt #0 0x00520227 in TraitsExp::semantic(Scope*) () #1 0x0047a1aa in

[Issue 7108] ICE: TraitsExp::semantic(Scope*) 2.056 -> 2.057 regression - segfault

2011-12-14 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7108 --- Comment #1 from Kenji Hara 2011-12-14 07:14:50 PST --- I found a null dereference bug in TraitsExp::semantic(). Following code kills dmd. static assert(!__traits(hasMember, int, "x")); In your environment, can you get similar backtrace?