https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88203
--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Created attachment 46964 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46964&action=edit gcc10-pr88203.patch Untested implementation of that.