https://gcc.gnu.org/bugzilla/show_bug.cgi?id=125375
--- Comment #17 from Drea Pinski <pinskia at gcc dot gnu.org> --- (In reply to H.J. Lu from comment #15) > Created attachment 64524 [details] > A DCE patch to keep return value clobber after reload The simple patch: -return REG_P (x) && (!HARD_REGISTER_P (x) || reload_completed); +return REG_P (x) && !REG_FUNCTION_VALUE_P (x) && (!HARD_REGISTER_P (x) || reload_completed); To that function should be done instead. Much simplier.
