c++/8625: [3.3 regression] ICE in cp_convert_parm_for_inlining, at cp/call.c:4304

reichelt@igpm.rwth-aachen.de reichelt@igpm.rwth-aachen.de
Sun Nov 24 10:47:00 GMT 2002


Old Synopsis: ice on valid c++ code
New Synopsis: [3.3 regression] ICE in cp_convert_parm_for_inlining, at cp/call.c:4304

State-Changed-From-To: open->analyzed
State-Changed-By: reichelt
State-Changed-When: Mon Nov 18 13:49:46 2002
State-Changed-Why:
    Confirmed.
    
    The ICE can be reproduced with the following code snippet:
    
    ---------------------snip here--------------------------
    struct A
    {
        ~A();
    };
    
    struct B
    {
        B( A ) {}
    };
    
    const A foo();
    
    B b(foo());
    ---------------------snip here--------------------------
    
    The error message is (just compile with "g++ -O -c"):
    
    In file included from PR8625.cc:13:
    PR8625.cc: In function `void __static_initialization_and_destruction_0(int, 
       int)':
    PR8625.cc:8: internal compiler error: in cp_convert_parm_for_inlining, at 
       cp/call.c:4304
    Please submit a full bug report,
    
    Only mainline is affected (gcc 3.3 20021111). Thus, we have a regression.
    I can reproduce the bug on i686-pc-liunx-gnu and mips-sgi-irix6.5.

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



More information about the Gcc-prs mailing list