https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116961
--- Comment #8 from Iain Buclaw <ibuclaw at gcc dot gnu.org> --- Created attachment 60606 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60606&action=edit Patch in testing @Sam, currently building with the attached patch, if you are able to confirm it fixes PR118802 then it should be good to apply.