https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91530
--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Created attachment 46746 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46746&action=edit gcc10-pr91530.patch Does the following patch fix it?