Landing: f99eaecb935a
Project / Subsystem
gcc / gcc
Date
2026-04-28
Author
Jakub Jelinek
Commit
f99eaecb935a4bf0278fa9ec786f8005af0319c1
Source
github
Perf win
No
Breaking
Yes
All attributes
- project
- gcc
- subsystem
- gcc
- patch_id
- —
- commit_hash
- f99eaecb935a4bf0278fa9ec786f8005af0319c1
- source_type
- github
- headline
- C, middle-end: Implement C2Y N3747 paper, Integer Sets, v5
- tldr
- Implements the C2Y N3747 paper, allowing signed _BitInt(1) and changing the type of 0wb to _BitInt(1).
- author
- Jakub Jelinek
- outcome
- committed
- performance_win
- false
- breaking_change
- true
- series_id
- —
- series_parts
- []
- tags
-
- • c
- • c2y
- • bitint
- • language feature
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-04-28T00:00:00.000Z
This commit implements the C2Y N3747 paper, which modifies the rules for the _BitInt type in C. Previously, signed _BitInt(1) was disallowed, but this change allows it. Also, the type of the literal 0wb is changed from _BitInt(2) to _BitInt(1). These changes are enabled when compiling in C2Y mode.