This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: c++/7917: ICE on ilegal code
- From: Reichelt <reichelt at igpm dot rwth-aachen dot de>
- To: gcc-gnats at gcc dot gnu dot org, V dot Haisman at sh dot cvut dot cz, gcc-bugs at gcc dot gnu dot org, nobody at gcc dot gnu dot org
- Date: Sun, 27 Oct 2002 18:26:11 +0200
- Subject: Re: c++/7917: ICE on ilegal code
Hi,
before the ICE g++ emits an error message, so that we'll see a
"confused by earlier errors, bailing out" message instead in the release
version (as in gcc 3.1 for example).
However, gcc 3.0.x and gcc 2.95.x could handle this situation without
such a message. So this is a slight regression.
BTW, here's a slightly cleaned-up testcase:
----------------------snip here-------------------------
struct A
{
int i;
void foo() = 0 {} // illegal!!!
A() : i(0) {}
};
----------------------snip here-------------------------
Greetings,
Volker
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=7917