This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/46657] Didn't check an array's boundary
- From: "manu at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 25 Nov 2010 11:23:34 +0000
- Subject: [Bug c/46657] Didn't check an array's boundary
- Auto-submitted: auto-generated
- References: <bug-46657-4@http.gcc.gnu.org/bugzilla/>
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 ***