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 testC.o testC.ii
ACE_wrappers/TAO/tao/Any_Array_Impl_T.cpp: In static member function 'static 
CORBA::Boolean TAO::Any_Array_Impl_T<T_slice, T_forany>::extract(const 
CORBA::Any&, void (*)(void*), CORBA::TypeCode*, T_slice*&) [with T_slice = 
TAO_String_Manager, T_forany = TAO_Array_Forany_T<TAO_String_Manager [5], 
TAO_String_Manager, Param_Test::Var_Array_tag>]':
ACE_wrappers/TAO/tao/Any_Array_Impl_T.cpp:61: error: invalid conditional operand
(boolD.1799) _tao_marshal_flagD.196185_327;
ACE_wrappers/TAO/tao/Any_Array_Impl_T.cpp:61: 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=22484

Reply via email to