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-20050528, the first that fails is gcc-4.1-20050604 Michael Cieslinski g++41f -O3 -c -o .obj/anonymousC.o anonymousC.ii ACE_wrappers/TAO/tao/Valuetype/ValueBase.inl: In function 'CORBA::Boolean TAO_OBV_GIOP_Flags::is_end_tag(CORBA::ULong)': ACE_wrappers/TAO/tao/Valuetype/ValueBase.inl:70: warning: comparison is always true due to limited range of data type anonymousC.cpp: In member function 'virtual void All_Anon::Nested_Anon::_tao_decode(TAO_InputCDR&)': anonymousC.cpp:3595: error: invalid conditional operand (boolD.1799) _tao_marshal_flagD.82795_39; anonymousC.cpp:3595: internal compiler error: verify_stmts failed 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: verify_stmts failed 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=22490