This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: c/4257
- To: gcc-gnats at gcc dot gnu dot org, gcc-bugs at gcc dot gnu dot org, utx at penguin dot cz, rodrigc at gcc dot gnu dot org
- Subject: Re: c/4257
- From: Reichelt <reichelt at igpm dot rwth-aachen dot de>
- Date: Fri, 5 Oct 2001 20:54:16 +0200
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