Landing: b61bb45f622b
Project / Subsystem
gcc / bitintlower
Date
2026-07-31
Author
Jakub Jelinek
Commit
b61bb45f622b94dd2a2ebafb4a7e815b6bdf5dad
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- bitintlower
- patch_id
- —
- commit_hash
- b61bb45f622b94dd2a2ebafb4a7e815b6bdf5dad
- source_type
- github
- headline
- bitintlower: Fix miscompilation with unsigned add/subtract operations
- tldr
- Fixes incorrect handling of unsigned add/subtract operations for bit-integers, resolving miscompilations on certain architectures.
- author
- Jakub Jelinek
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • compiler
- • optimization
- • bit-int
- • aarch64
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-07-31T00:00:00.000Z
This commit addresses a miscompilation issue on aarch64 related to unsigned add/subtract operations on bit-integers. The problem arose when specific target architectures used different instruction sets for these operations, leading to incorrect results. The fix ensures correct handling by properly utilizing the appropriate instructions or fallbacks, thus resolving the miscompilation.