https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109814
--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> --- It is a deliberate change, what we didn't consider is that people are using hosted libstdc++ with -ffreestanding this way (because ... well, it doesn't really make sense, but apparently it does).