https://gcc.gnu.org/bugzilla/show_bug.cgi?id=127476

--- Comment #4 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-16 branch has been updated by Jonathan Wakely
<[email protected]>:

https://gcc.gnu.org/g:cf2c0ec35f59a76a7d0fd3d9e8dc7e377c240fae

commit r16-9851-gcf2c0ec35f59a76a7d0fd3d9e8dc7e377c240fae
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.

    (cherry picked from commit 7e5fe1837c79233a9cdb2fdef655f82f8cabdafb)

Reply via email to