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: "pinskia 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 May 2005 12:38:55 -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 pinskia at gcc dot gnu dot org 2005-05-21 12:38 -------
There is a reason why forwprop does not do this, the SSA_NAME is used twice. If we run forwprop
before FRE, it will catch it in this
See PR 19703 for a case where DOM messes up catching something like this.
I think forwprop already does this in some cases but I could be wrong.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21694