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]
Other format: [Raw text]

Re: c/6964: Internal compiler error using -O2 but ok using -O0


Hi,

the testcase can be reduced to the following code snippet
(which even fails with "gcc -O -c"):

------------------------------snip here--------------------------
float foo (void)
{
    float x[2];
    return x[1];
}
------------------------------snip here--------------------------

The bug is a regression from 3.0.x and is present in 3.1 and the main
trunk (gcc 3.2 20020609) - checked on a i686-pc-linux-gnu.

Greetings,
Volker Reichelt

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=6964



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