https://gcc.gnu.org/bugzilla/show_bug.cgi?id=127476
--- Comment #2 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Jonathan Wakely <[email protected]>: https://gcc.gnu.org/g:7e5fe1837c79233a9cdb2fdef655f82f8cabdafb commit r17-5392-g7e5fe1837c79233a9cdb2fdef655f82f8cabdafb Author: Jonathan Wakely <[email protected]> Date: Mon Oct 19 21:59:46 2026 +0100 libstdc++: Do not include <bits/indirect.h> for freestanding [PR127476] This header is not installed for freestanding builds, so we should not try to include it. We could consider making std::indirect and std::polymorphic available for freestanding, but that would be more effort as it requires installing <bits/new_allocator.h> and other headers. libstdc++-v3/ChangeLog: PR libstdc++/127476 * include/std/memory [!_GLIBCXX_HOSTED]: Do not include bits/indirect.h.
