Landing: 6a4cfad20b7f
Project / Subsystem
gcc / libstdc++
Date
2026-05-19
Author
Jonathan Wakely
Commit
6a4cfad20b7f7eacb352aed01b6159baa9935f2a
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- libstdc++
- patch_id
- —
- commit_hash
- 6a4cfad20b7f7eacb352aed01b6159baa9935f2a
- source_type
- github
- headline
- Deprecates numeric_limits::has_denorm for C++23.
- tldr
- Deprecates `numeric_limits::has_denorm` and related features in libstdc++ for C++23, following the P2614R2 paper.
- author
- Jonathan Wakely
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • libstdc++
- • deprecation
- • c++23
- • numeric_limits
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-05-19T00:00:00.000Z
The C++ standard is evolving, and some features are being deprecated. This commit marks float_denorm_style, its enumerators, and numeric_limits::has_denorm and numeric_limits::has_denorm_loss as deprecated in libstdc++ for C++23. This change aligns with the approved paper P2614R2. The commit adds dg-warning directives to test files to ensure that deprecation warnings are generated as expected.