This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/43270] array-bounds false negative
- From: "matt at use dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 6 Mar 2010 01:31:36 -0000
- Subject: [Bug tree-optimization/43270] array-bounds false negative
- References: <bug-43270-8137@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #12 from matt at use dot net 2010-03-06 01:31 -------
Changing contents[size] to contents[size + 10] or to contents[size+10000] is
still not triggering the array-bounds warning in any of the compilers I tested
(previously mentioned). In my real code, it was an OB1 bug, so that's what I
would have like to have been detected.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43270