c/4257

Reichelt reichelt@igpm.rwth-aachen.de
Fri Oct 5 11:47:00 GMT 2001


Hi,

here's a smaller testcase that exposes the same bug:

void f ()
{
    unsigned int *p;
    p++;
    *p += *p / (*p < 2);
}

It crashes gcc version 3.0.2 20011001 (prerelease) on a
i686-pc-linux-gnu box when I try to compile it with
"gcc -O3 -c <filename>".

Greetings,
Volker Reichelt

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=4257&database=gcc




More information about the Gcc-bugs mailing list