[Issue 1573] ICE when using -O flag and static if's

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Oct 15 12:54:11 PDT 2007


http://d.puremagic.com/issues/show_bug.cgi?id=1573





------- Comment #6 from jeffd at gwava.com  2007-10-15 14:54 -------
$ gdc --version
gdc (GCC) 4.1.3 20070831 (prerelease gdc 0.25, using dmd 1.021) (Ubuntu
0.25-4.1.2-16ubuntu1)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE

I'm using tango and "rebuild":

$ rebuild test2.d -release -O -full
WARNING: Module test2.d does not have a module declaration. This can cause
problems
         with rebuild's -oq option. If an error occurs, fix this first.
tetra/util/container/Hash.d: In member function ‘_keyCompare’:
tetra/util/container/Hash.d:214: internal compiler error: in emit_move_insn, at
expr.c:3162
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
For Debian GNU/Linux specific bug reporting instructions,
see <URL:file:///usr/share/doc/gcc-4.1/README.Bugs>.


If you go to line 222, I've commented out the chunk of code we used to work
around the issue.


-- 



More information about the D.gnu mailing list