This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: c/4415


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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]