This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]