https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94272
--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Created attachment 48090 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48090&action=edit gcc10-pr94272.patch Untested hack (admittedly quite ugly) that seems to fix this testcase.