Landing: fb0c03ee7afc

Project / Subsystem

gcc / libstdc++

Date

2026-07-13

Author

Jonathan Wakely

Commit

fb0c03ee7afca608cba0419629184b8f442085e2

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
libstdc++
patch_id
commit_hash
fb0c03ee7afca608cba0419629184b8f442085e2
source_type
github
headline
libstdc++: Fix std module to work with --disable-wchar_t
tldr
Removes unnecessary aliases and declarations from std module headers when wchar_t is disabled.
author
Jonathan Wakely
outcome
committed
performance_win
false
breaking_change
false
series_id
series_parts
[]
tags
  • libstdc++
  • wchar_t
  • c++23
discussion_id_link
bugzilla_pr
date
2026-07-13T00:00:00.000Z

The C++ standard library’s std module now correctly handles configurations where wchar_t is disabled. This change removes superfluous declarations in headers like , , and that were previously included even when not applicable. This prevents potential issues and ensures the module conforms to the build configuration.