[Bug middle-end/31058] bogus array overflow warnings in unreachable code
rakdver at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Wed Mar 7 09:15:00 GMT 2007
------- 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
More information about the Gcc-bugs
mailing list