https://gcc.gnu.org/bugzilla/show_bug.cgi?id=125067
--- Comment #3 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The trunk branch has been updated by Andrew Pinski <[email protected]>: https://gcc.gnu.org/g:67812af709d121b73d582093aa9aeccf149b07ba commit r17-165-g67812af709d121b73d582093aa9aeccf149b07ba Author: Andrew Pinski <[email protected]> Date: Tue Apr 28 12:46:31 2026 -0700 phiprop: Fix typo [PR125067] When I factored out the code in can_handle_load, I had a small typo which seemed to work for most cases but I had noticed later on was broken. Basically the bb where the vop definition has to be dominated by the current bb (and can't be the current bb). Pushed as obvious afte a quick bootstrapped. PR tree-optimization/125067 gcc/ChangeLog: * tree-ssa-phiprop.cc (can_handle_load): Fix copy and pasto on dominated_by_p. Signed-off-by: Andrew Pinski <[email protected]>
