c++/7911: Internal compiler error in force_store_init_value, at cp/typeck2.c:443
Reichelt
reichelt@igpm.rwth-aachen.de
Sun Oct 6 06:56:00 GMT 2002
The following reply was made to PR c++/7911; it has been noted by GNATS.
From: Reichelt <reichelt@igpm.rwth-aachen.de>
To: gcc-gnats@gcc.gnu.org, meno.abels@7d.net, gcc-bugs@gcc.gnu.org,
nobody@gcc.gnu.org
Cc:
Subject: Re: c++/7911: Internal compiler error in force_store_init_value, at cp/typeck2.c:443
Date: Sun, 6 Oct 2002 16:41:06 +0200
Hi,
the bug can be reproduced with the following code snippet:
----------------------------snip here--------------------------
struct A
{
virtual ~A();
};
struct B
{
char A::* p;
A a;
};
B b;
----------------------------snip here--------------------------
Compiling this with gcc 3.2 ("g++ -c") causes an ICE (checked on
mips-sgi-irix6.5 and i686-pc-linux-gnu).
With gcc 2.95.x, 3.0.x, even 3.1 and the main trunk the code compiles
fine. Thus, the bug is a regression on the branch and should be marked
high priority. (I haven't got the recent head of the branch installed to
check whether the bug has been fixed in the meantime.)
Greetings,
Volker Reichelt
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=7911
More information about the Gcc-prs
mailing list