https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43361
Martin Sebor <msebor at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Last reconfirmed|2010-03-14 15:45:50 |2021-3-29 --- Comment #14 from Martin Sebor <msebor at gcc dot gnu.org> --- Reconfirmed with GCC 11 and the C test case below: void f (int); int main () { int i; int array[10]; for (; i<10; ++i) { // no warning f (i); // no warning array [i] = i; // no warning, really hurts } }