https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110865
--- Comment #2 from Gaius Mulley <gaius at gcc dot gnu.org> --- Created attachment 55668 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55668&action=edit Proposed fix Here is a proposed patch which I'll apply (if) the bootstrap succeeds and no further regressions are introduced.