http://d.puremagic.com/issues/show_bug.cgi?id=3496
Don <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Version|unspecified |1.00 Summary|ICE ..\ztc\cgelem.c 3387 |ICE(cgelem.c, optimizer | |bug) cast(void *)(x&1)== | |null. --- Comment #3 from Don <[email protected]> 2009-11-13 12:42:02 PST --- Reduced test case. Compile with -O (-inline not required). Not a regression; fails on DMD0.165. bool foo() { int x; return cast(void*) (x & 1) == null; } Internal error: ztc\cgelem.c 3387 Really peculiar thing is that replacing & with | or ^ makes the bug disappear. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
