https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109810
--- Comment #3 from Gaius Mulley <gaius at gcc dot gnu.org> --- Created attachment 55059 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55059&action=edit Proposed fix Here is a proposed patch with test code which has successfully bootstrapped on x86_64 linux.