This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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 ***


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]