https://gcc.gnu.org/bugzilla/show_bug.cgi?id=129266

--- Comment #7 from Drea Pinski <pinskia at gcc dot gnu.org> ---
So there are 2 uses of fwprop_ssa_val one is for match/fold_stmt and the other
case is doing the prop itself.

In the case of the prop (calling propagate_value), may_propagate_copy is
checked. Which I am saying is needed now on the valuezation side of things too.

So the simple fix is not to set the lattice if may_propagate_copy is false and
remove the checks on the other side.

Reply via email to