This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: c++/8625: [3.3 regression] ICE in cp_convert_parm_for_inlining, at cp/call.c:4304
- From: reichelt at igpm dot rwth-aachen dot de
- To: deller at gmx dot de, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, nobody at gcc dot gnu dot org
- Date: 18 Nov 2002 21:49:48 -0000
- Subject: Re: c++/8625: [3.3 regression] ICE in cp_convert_parm_for_inlining, at cp/call.c:4304
- Reply-to: reichelt at igpm dot rwth-aachen dot de, deller at gmx dot de, 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 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