------- Comment #3 from rakdver at gcc dot gnu dot org  2007-03-07 09:15 -------
The same problem appears in the following testcase.

int a[100];

void test (int real_length_of_a)
{
  int x = 110;

  if (x < real_length_of_a)
    a[x]++;
}


-- 

rakdver at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|array overflow warning due  |bogus array overflow
                   |to incorrect loop unrolling |warnings in unreachable code


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

Reply via email to