[Bug tree-optimization/43270] New: array-bounds false negative

matt at use dot net gcc-bugzilla@gcc.gnu.org
Fri Mar 5 20:20:00 GMT 2010


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



More information about the Gcc-bugs mailing list