When I compile ACE 5.4.2 with the actual snapshot I get an ICE: g++ -O2 -march=opteron -c -fPIC -o .shobj/POA.o POA.ii /home/cie019/ace542-gcc40/ACE_wrappers/TAO/tao/Valuetype/ValueBase.inl: In function 'CORBA::Boolean TAO_OBV_GIOP_Flags::is_end_tag(CORBA::ULong)': /home/cie019/ace542-gcc40/ACE_wrappers/TAO/tao/Valuetype/ValueBase.inl:70: warning: comparison is always true due to limited range of data type POA.cpp: In member function 'PortableInterceptor::AdapterName* TAO_POA::adapter_name_i()': POA.cpp:955: internal compiler error: tree check: accessed operand 2 of truth_not_expr with 1 operands in c_common_truthvalue_conversion, at c- common.c:2332 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 This ICE doesn't occur with snapshot 20041219 Michael Cieslinski -- Summary: ICE: tree check at c-common.c:2332 Product: gcc Version: 4.0.0 Status: UNCONFIRMED Severity: normal Priority: P2 Component: translation 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=19355