This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/21694] Missed forwprop opportunity into COND_EXPR
- From: "kazu at cs dot umass dot edu" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 21 May 2005 09:45:57 -0000
- Subject: [Bug tree-optimization/21694] Missed forwprop opportunity into COND_EXPR
- References: <20050521075655.21694.kazu@cs.umass.edu>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From kazu at cs dot umass dot edu 2005-05-21 09:45 -------
The DOM's optimization comes from find_equivalent_equality_comparison,
which makes a COND_EXPR absorb a narrowing cast.
We could port this to tree-ssa-forwprop.c.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21694