[Bug middle-end/60121] gcc does not warn an obvious out-of-bound array access at -O0 and -O1

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sun Feb 9 00:14:00 GMT 2014


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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |DUPLICATE

--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Actually the reason for the warning is due to LIM pulling the out of bounds
access out of the loop, the same reason why bug 60115 fails.  It is just
showing the bug a different way.

*** This bug has been marked as a duplicate of bug 60115 ***



More information about the Gcc-bugs mailing list