Landing: d4ca6c0d8762
Project / Subsystem
gcc / libstdc++
Date
2026-04-30
Author
Felix Morgner
Commit
d4ca6c0d87626c0e065525a87ea278bedfceb68d
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- libstdc++
- patch_id
- —
- commit_hash
- d4ca6c0d87626c0e065525a87ea278bedfceb68d
- source_type
- github
- headline
- libstdc++: Add <bits/binders.h> to freestanding headers [PR125112]
- tldr
- Fixes freestanding builds of libstdc++ by including <bits/binders.h>.
- author
- Felix Morgner
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • libstdc++
- • freestanding
- • headers
- • C++
- • ranges
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-04-30T00:00:00.000Z
This commit fixes a build issue in libstdc++ when using the --disable-libstdcxx-hosted option, which configures the library for freestanding environments. The <ranges> header, recently added to the freestanding headers, depends on <bits/binders.h>. This commit moves <bits/binders.h> to the freestanding headers, resolving the dependency and allowing <ranges> to be used in freestanding builds.