https://gcc.gnu.org/bugzilla/show_bug.cgi?id=125450
--- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> --- Ah thanks. I tested it with a full --enable-hosted-libstdcxx build using -ffreestanding and everything compiles, but that's got a full set of headers available.
