https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64277

Manuel López-Ibáñez <manu at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |manu at gcc dot gnu.org

--- Comment #2 from Manuel López-Ibáñez <manu at gcc dot gnu.org> ---
I cannot reproduce this in GCC 5.0 with or without -msse3 (on
x86_64-linux-gnu). I always get:

test.c: In function ‘foo’:
test.c:12:14: warning: ‘f1’ may be used uninitialized in this function
[-Wmaybe-uninitialized]
    f1[i] = f1[i] + 1;
              ^

which seems correct.

In any case, warning about f1[i] being above array bounds would be correct:
there is no check that "i < 10".

Reply via email to