When I compile ace542 with the actual snapshot of gcc41 I get an ICE when I use -O3.
The last snapshot which works is gcc-4.1-20050604, the first that fails is gcc-4.1-20050611 Michael Cieslinski g++41f -O3 -c -o .obj/cubitS.o cubitS.ii cubitS.cpp: In static member function 'static void POA_Cubit::cube_struct_skel (TAO_ServerRequest&, void*, void*)': cubitS.cpp:4193: internal compiler error: in first_vi_for_offset, at tree-ssa- structalias.c:2585 Please submit a full bug report, with preprocessed source if appropriate. g++41f -v Using built-in specs. Target: x86_64-unknown-linux-gnu Configured with: ../gcc-4.1-20050709/configure --prefix=/usr/local/gcc41f --program-suffix=41f --with-arch=opteron --enable-languages=c,c++ --enable-checking Thread model: posix gcc version 4.1.0 20050709 (experimental) -- Summary: ICE: in first_vi_for_offset, at tree-ssa- structalias.c:2585 with -O3 Product: gcc Version: 4.1.0 Status: UNCONFIRMED Severity: normal Priority: P2 Component: tree-optimization AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: micis at gmx dot de CC: gcc-bugs at gcc dot gnu dot org GCC build triplet: x86_64-unknown-linux-gnu GCC host triplet: x86_64-unknown-linux-gnu GCC target triplet: x86_64-unknown-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22488