When I compile our sources at -O3 with the actual snapshot I get an ICE: g++ -O3 -c -o ErrValTest.o ErrValTest.ii ErrValTest.ii: In member function 'ErrVal ErrValTest::recursiveTest(int, int)': ErrValTest.ii:16115: internal compiler error: in make_decl_rtl, at varasm.c:867 Please submit a full bug report,with preprocessed source if appropriate. g++ -v Using built-in specs. Configured with: ../gcc40/configure --prefix=/usr/local/gcc40f --program-suffix=40f --with-arch=opteron --enable-languages=c,c++ --enable-checking Thread model: posix gcc version 4.0.0 20050109 (experimental) gcc was build with "make bootstrap" and following CFLAGS -pipe -g -O3 -march=opteron -fmessage-length=0 -falign-loops=16 -falign-jumps=16 -falign-functions=32 -fstrict-aliasing -fsched-interblock -ffast-math -funroll-all-loops -funit-at-a-time -fpeel-loops -ftracer -funswitch-loops -floop-optimize2 -fmove-loop-invariants -fgcse-after-reload -frename-registers -fmodulo-sched --param max-gcse-passes=5 --param max-unrolled-insns=600 --param inline-unit-growth=300 --param large-function-growth=400 Michael Cieslinski
Created attachment 7928 [details] preprocessed source
I think this is a dup of bug 19241 but I have no prove yet.
Ok, I have some more information. We do: [pr19374.1.cc : 15716] D.41402 = <retval>; [pr19374.1.cc : 15716] __comp_ctor (D.41402, &"e%d"[0], level); [pr19374.1.cc : 15716] return <retval>; into [pr19374.1.cc : 15716] D.45362 = &D.45365; [pr19374.1.cc : 15716] __comp_ctor (D.45362, &"e%d"[0], level); This just shows the problem and why this is a dup of bug 19241. *** This bug has been marked as a duplicate of 19241 ***