This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/30997] New: FRE does not value number comparisons in COND_EXPRs
- From: "rguenth at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 28 Feb 2007 19:00:27 -0000
- Subject: [Bug tree-optimization/30997] New: FRE does not value number comparisons in COND_EXPRs
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
int foo(int a) { int tmp = a > 2; if (a > 2) return tmp; }
is not simplified.
--
Summary: FRE does not value number comparisons in COND_EXPRs
Product: gcc
Version: 4.3.0
Status: UNCONFIRMED
Keywords: missed-optimization
Severity: enhancement
Priority: P3
Component: tree-optimization
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: rguenth at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30997