This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: c/4415
- To: gcc-gnats at gcc dot gnu dot org, z0001 at zorzella dot com, gcc-bugs at gcc dot gnu dot org
- Subject: Re: c/4415
- From: Reichelt <reichelt at igpm dot rwth-aachen dot de>
- Date: Fri, 28 Sep 2001 13:55:12 +0200
Hi,
after some editing (the original testcase got corrupted somehow)
I was able to reproduce the problem on an i686-pc-linux-gnu with
gcc 3.0.2 20010924 (prerelease).
Here is a smaller testcase that does the same trick (ICE):
void f (int, ...);
int g (int i)
{
if (i) i=1; else i=0;
f(0);
return i;
}
Just compile with "gcc -O2 -march=k6 -c <filename>".
Greetings,
Volker Reichelt
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=4415&database=gcc