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++/9965: [3.3/3.4 regression] ICE in cp_expr_size


Old Synopsis: ICE while compiling kdeaddons
New Synopsis: [3.3/3.4 regression] ICE in cp_expr_size

State-Changed-From-To: open->analyzed
State-Changed-By: bangerth
State-Changed-When: Wed Mar  5 21:42:12 2003
State-Changed-Why:
    Confirmed. A regression on 3.3 and mainline branches. Must
    have been introduced in the last 2-3 weeks, from my records.
    
    A reduced testcase is this one:
    ---------------------
    struct Base {
        Base();
        Base(const Base &);
        Base & operator = (const Base &);
    };
    
    struct Derived : public Base {};
    
    Derived derived();
    const Base &b = derived();
    -------------------------------
    
    It ICEs like this:
    g/x> /home/bangerth/bin/gcc-3.3-pre/bin/c++ -c z.cc
    z.cc: In function `void __static_initialization_and_destruction_0(int, int)':
    z.cc:10: internal compiler error: in cp_expr_size, at cp/cp-lang.c:307
    Please submit a full bug report,
    with preprocessed source if appropriate.
    See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
    g/x>
    g/x> /home/bangerth/bin/gcc-3.4-pre/bin/c++ -c z.cc
    z.cc: In function `void __static_initialization_and_destruction_0(int, int)':
    z.cc:10: internal compiler error: in cp_expr_size, at cp/cp-lang.c:305
    Please submit a full bug report,
    with preprocessed source if appropriate.
    See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
    
    Compilers are from today's CVS.
    
    W.

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


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