c++/10506: [3.3/3.4 regression] ICE in build_new at cp/init.c with -fkeep-inline-functions and multiple inheritance

bangerth@dealii.org bangerth@dealii.org
Sat Apr 26 06:40:00 GMT 2003


Old Synopsis: ICE in build_new at cp/init.c when -fkeep-inline-functions is used
New Synopsis: [3.3/3.4 regression] ICE in build_new at cp/init.c with -fkeep-inline-functions and multiple inheritance

State-Changed-From-To: open->analyzed
State-Changed-By: bangerth
State-Changed-When: Fri Apr 25 22:35:50 2003
State-Changed-Why:
    Confirmed:
    -------------------------
    struct B1 { virtual ~B1(); };
    struct B2 { virtual ~B2(); };
    struct D : B1, B2 {};
    struct X : D      { X (); };
    
    X::X () { new int; }
    ---------------------------
    This fails with 3.2, 3.3 and 3.4:
    g/x> /home/bangerth/bin/gcc-3.4-pre/bin/c++ -c y.cc -fkeep-inline-functions
    y.cc: In constructor `X::X()':
    y.cc:6: internal compiler error: in build_new, at cp/init.c:1925
    
    It doesn't ICE in 3.0, so is a regression
    
    W.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=10506



More information about the Gcc-bugs mailing list