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++/8663: [3.3 regression] ICE in cp_expr_size, at cp/cp-lang.c:307


Old Synopsis: ICE in cp_expr_size, at cp/cp-lang.c:307
New Synopsis: [3.3 regression] ICE in cp_expr_size, at cp/cp-lang.c:307

State-Changed-From-To: open->analyzed
State-Changed-By: reichelt
State-Changed-When: Thu Nov 21 09:00:16 2002
State-Changed-Why:
    Confirmed.
    
    The bug can be reproduced with the following code snippet:
    
    -----------------------snip here------------------------
    struct A
    {
        A (const A&);
        A &operator= (const A&);
    };
    
    struct B { A a; };
    
    B foo();
    
    void bar() { A a = foo().a; }
    -----------------------snip here------------------------
    
    Compiling this with mainline (as of 20021118) on i686-pc-linux-gnu
    I get an ICE:
    
    PR8663.cc: In function `void bar()':
    PR8663.cc:11: internal compiler error: in cp_expr_size, at cp/cp-lang.c:307
    Please submit a full bug report, [etc.]
    
    The 3.2-branch, 3.0.x and 2.95.x are not affected.

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


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