https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84646
--- Comment #10 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Richard Biener <rgue...@gcc.gnu.org>: https://gcc.gnu.org/g:f1b76811f2c3773e8cabcc07932bf13e82e264db commit r13-3879-gf1b76811f2c3773e8cabcc07932bf13e82e264db Author: Richard Biener <rguent...@suse.de> Date: Thu Nov 10 15:02:37 2022 +0100 better PHI copy propagation for forwprop We can handle _1 = PHI <_1, _2> as a copy. PR tree-optimization/84646 * tree-ssa-forwprop.cc (pass_forwprop::execute): Improve copy propagation across PHIs.