This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/19105] New: fold does not spot anti-range test
- From: "nathan at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 21 Dec 2004 12:21:56 -0000
- Subject: [Bug tree-optimization/19105] New: fold does not spot anti-range test
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
The attached test case shows two equivalent functions, unfortunately the
first is not optimized as best as the second. Notice the only different is the
placement of some superfluous parentheses.
Death to fold-const!
--
Summary: fold does not spot anti-range test
Product: gcc
Version: 4.0.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: tree-optimization
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: nathan at gcc dot gnu dot org
CC: gcc-bugs at gcc dot gnu dot org
GCC target triplet: i686-pc-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19105