https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71446
--- Comment #16 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Created attachment 45863 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45863&action=edit gcc9-pr71446.patch That would be this (untested except for make check-c++all).