https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100361
--- Comment #9 from Jonathan Wakely <redi at gcc dot gnu.org> --- Nice, thanks, Joern. That patch is OK for trunk and gcc-11 (please remember to CC the libstdc++ list when you post it to gcc-patches).