This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: c++/9965: [3.3/3.4 regression] ICE in cp_expr_size
- From: bangerth at dealii dot org
- To: bero at arklinux dot org, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, nobody at gcc dot gnu dot org
- Date: 5 Mar 2003 21:42:12 -0000
- Subject: Re: c++/9965: [3.3/3.4 regression] ICE in cp_expr_size
- Reply-to: bangerth at dealii dot org, bero at arklinux dot org, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, nobody at gcc dot gnu dot org, gcc-gnats at gcc dot gnu dot org
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