https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94589
--- Comment #26 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Created attachment 55893 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55893&action=edit Here is my idea around the patch for prototype for doing the constant prop idea This is like the one in comment #13 but handles it in phiopt rather than forwprop.