https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91716
--- Comment #2 from Bernd Edlinger <edlinger at gcc dot gnu.org> --- Created attachment 46877 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46877&action=edit untested patch
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91716
--- Comment #2 from Bernd Edlinger <edlinger at gcc dot gnu.org> --- Created attachment 46877 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46877&action=edit untested patch