https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122225
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- I suspect, the fix is simple as rejecting RESULT_DECL SSA_NAMEs in may_propagate_copy for dest. If I get some time I will test that out. That should prevent ret_2 from being replaced with _13 in DOM.
