[Issue 7108] ICE: TraitsExp::semantic(Scope*) 2.056 -> 2.057 regression - segfault
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Dec 14 07:23:11 PST 2011
http://d.puremagic.com/issues/show_bug.cgi?id=7108
--- Comment #2 from pelo <dlang at chilon.net> 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, can you get similar backtrace?
Yes! Here is my code:
int main(string argv[]) {
static assert(! __traits(hasMember, int, "x"));
return 0;
}
I try to compile:
% dmd yo.d
zsh: segmentation fault (core dumped) dmd yo.d
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list