------- Additional Comments From kazu at cs dot umass dot edu 2005-05-21 17:01 ------- (In reply to comment #2) > 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
We are interested in the number of immediate uses of cond_4, not D.1240_3. Since cond_4 is used only once, this optimization fits in the framework of forwprop quite nicely. I've got a patch. -- What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|unassigned at gcc dot gnu |kazu at cs dot umass dot edu |dot org | Status|NEW |ASSIGNED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21694