https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115540
--- Comment #2 from Gaius Mulley <gaius at gcc dot gnu.org> --- Created attachment 58514 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58514&action=edit Proposed fix Here is a proposed patch - which is currently being bootstrap tested.