This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/43270] New: 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: 5 Mar 2010 20:19:58 -0000
- Subject: [Bug tree-optimization/43270] New: array-bounds false negative
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
Compiling the attached code with -O3 -Wall or -O2 -Wall doesn't elicit an array
bounds warning, when it should in the constructor for FixedString.
--
Summary: array-bounds false negative
Product: gcc
Version: 4.5.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: tree-optimization
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: matt at use dot net
GCC build triplet: x86_64-unknown-linux-gnu
GCC host triplet: x86_64-unknown-linux-gnu
GCC target triplet: x86_64-unknown-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43270