This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/22546] does not warn for out-of-bound array access
- From: "pcarlini at suse dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 18 Jul 2005 14:01:08 -0000
- Subject: [Bug c/22546] does not warn for out-of-bound array access
- References: <20050718134245.22546.rguenth@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pcarlini at suse dot de 2005-07-18 14:01 -------
My vague idea would be that mudflap already does this (and *much* more). Maybe
a small part of its logic could be moved to a compile-time warning.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22546