https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117670
--- Comment #1 from David Malcolm <dmalcolm at gcc dot gnu.org> --- Created attachment 60231 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60231&action=edit Candidate patch Does this patch fix it for you? (lightly tested at my end and seems to work)