https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118862
--- Comment #7 from Thomas Koenig <tkoenig at gcc dot gnu.org> --- Created attachment 60505 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60505&action=edit Patch that should fix the issue I think the attached patch, based on Jakub's patch, should fix the issue. I tried to try test this myself, but that resulted in PR118890 . It passes all tests on x86_64, at least. Would it be possible to test this?