------- Comment #8 from fxcoudert at gcc dot gnu dot org  2007-06-20 20:21 
-------
I can reproduce this 4.3 regression with the following C testcase:

$ cat w.c
void foo (void)
{
  int i, m;
  float xa[21];
  m = 0;
  while (1)
  {
    i = 0;
    while (1)
    {
      if (xa[(long int)i] == xa[(long int)(i+m)])
        _gfortran_abort ();
      if (i == 10)
        break;
      i++;
    }
    if (m == 10)
      break;
    m++;
  }
}
$ gcc -O2 -fprefetch-loop-arrays -m64 w.c
w.c: In function ‘foo’:
w.c:2: internal compiler error: tree check: expected integer_cst, have nop_expr
in int_cst_value, at tree.c:7720


-- 

fxcoudert at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |major
           Priority|P3                          |P1
   Last reconfirmed|2007-06-12 15:44:47         |2007-06-20 20:21:35
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32176

Reply via email to