This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/43966] New: redundant checks not removed
- From: "hartmut dot schirmer at arcormail dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 3 May 2010 06:17:54 -0000
- Subject: [Bug middle-end/43966] New: redundant checks not removed
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
On attached test case GCC keeps the index range checks in
Vector::getValue although they're always true due to loop conditions
# GNU C++ (GCC) version 4.5.0 (mingw32)
# options passed: -fpreprocessed yy5.ii -march=atom -mtune=atom -O2 -Wall
--
Summary: redundant checks not removed
Product: gcc
Version: 4.5.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: middle-end
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: hartmut dot schirmer at arcormail dot de
GCC build triplet: i686-pc-mingw32
GCC host triplet: i686-pc-mingw32
GCC target triplet: i686-pc-mingw32
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43966