https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58517
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #55237|0 |1 is obsolete| | --- Comment #12 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Created attachment 55239 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55239&action=edit Patch which does work on this Though, I need to double to make sure it works for other cases still. sh is the case where we have a non-CC mode register for the flags which is why this was harder than other targets.