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: optimization/8555: [3.2 regression] ICE in gen_split_1231


The regression reported in PR optimization/8555 showed up
starting with this patch to the 3.1 branch; it currently
affects only the 3.2 branch.

2002-05-23  Jakub Jelinek  <jakub@redhat.com>

        PR target/6753
        * config/i386/i386.md

Here's a small test case that causes the compiler to ICE
when compiled on i686-linux with the 3.2 branch compiler.

-------------------
// ICE when compiled with
//   -march=pentium3 -O -ffast-math -funroll-loops

float foo (float *a)
{
  int i, j;
  float x=a[j=i-1], y;

  for ( j=i; --j>=0; )
    if( (y=a[j]) > x )
      x = y;

  return x;
}
-------------------

Output from the 3.2 branch compiler:

8555.c: In function `foo':
8555.c:14: Internal compiler error in gen_split_1233, at
insn-emit.c:16727
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.

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




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