[Bug c/46657] Didn't check an array's boundary

manu at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Nov 25 11:32:00 GMT 2010


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|INVALID                     |DUPLICATE

--- Comment #4 from Manuel López-Ibáñez <manu at gcc dot gnu.org> 2010-11-25 11:22:59 UTC ---
Crashing or not crashing may be happen or not happen because the code is
undefined. The compiler should still be able to warn for such an obvious case,
as other compilers surely do.

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



More information about the Gcc-bugs mailing list