Landing: 92bcc711fafc

Project / Subsystem

gcc / libstdc++

Date

2026-08-17

Author

Jonathan Wakely

Commit

92bcc711fafc026e0cc2f48b7f3ab23657787a8c

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
libstdc++
patch_id
—
commit_hash
92bcc711fafc026e0cc2f48b7f3ab23657787a8c
source_type
github
headline
Fix preprocessor check for bfloat16_t in <numbers>
tldr
Corrects a preprocessor condition for `bfloat16_t` support in the `<numbers>` header.
author
Jonathan Wakely
outcome
committed
performance_win
false
breaking_change
false
series_id
—
series_parts
[]
tags
  • • libstdc++
  • • cpp23
  • • numbers
discussion_id_link
—
bugzilla_pr
—
date
2026-08-17T00:00:00.000Z

A preprocessor check in the C++ standard library’s <numbers> header incorrectly evaluated support for std::bfloat16_t. This commit corrects the preprocessor condition, ensuring that bfloat16_t is accurately detected when available, fixing PR126849.