https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116835
--- Comment #9 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Andrew Pinski from comment #4) > Phiprop use commit on the edge, maybe that could be improved/changed. That won't work because the edges which are in use here are the edges of the PHI. Still looking into figuring out the best way of fixing this. Rejecting back edges out right is not good either. I am thinking about changing around the code to go through all of the usess and find the ones where we only have conditional edges (or the bb of the use is the same as the phi) and insert there otherwise put them into a worklist and go through the worklist at the end and see if we could reuse a phi that was inserted.