This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: c++/7734: ICE in cp_expr_size, at cp/cp-lang.c:130
- From: Reichelt <reichelt at igpm dot rwth-aachen dot de>
- To: gcc-gnats at gcc dot gnu dot org, spigel at olvs dot miee dot ru, gcc-bugs at gcc dot gnu dot org, nobody at gcc dot gnu dot org
- Date: Wed, 28 Aug 2002 16:24:18 +0200
- Subject: Re: c++/7734: ICE in cp_expr_size, at cp/cp-lang.c:130
Hi,
the problem can be reproduced with the following code snippet:
-------------------------snip here-------------------------
struct A
{
A ();
A (const A&);
A& operator= (const A&);
};
struct { A a; } foo = { A() };
-------------------------snip here-------------------------
(with A==QString and foo==g_rgModInfo in the original example).
When compiling this with the main trunk (gcc 3.3 20020816) I get the
following error (on i686-pc-linux-gnu and mips-sgi-irix6.5):
PR7734.cc: In function `void __static_initialization_and_destruction_0(int,
int)':
PR7734.cc:8: internal compiler error: Internal compiler error in cp_expr_size,
at cp/cp-lang.c:302
Please submit a full bug report, [etc.]
This is a regression since the code compiles fine with gcc 3.0.x, 3.1
and 3.2.
Greetings,
Volker Reichelt
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=7734