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/4257


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



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