Landing: 70859b5efb58
Project / Subsystem
gcc / aarch64
Date
2025-12-10
Author
Karl Meakin
Commit
70859b5efb58dfef620b5ed7019d4338f9642783
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- aarch64
- patch_id
- —
- commit_hash
- 70859b5efb58dfef620b5ed7019d4338f9642783
- source_type
- github
- headline
- aarch64: Use `unspec` type for unspec codes
- tldr
- Changes `unspec` code storage from `int` to `unspec` type for better GDB output and type safety.
- author
- Karl Meakin
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • aarch64
- • debugging
- • compiler internals
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2025-12-10T00:00:00.000Z
This commit improves the representation of unspec codes in the aarch64 backend by changing their storage type from int to unspec. This change ensures that GDB will now print the symbolic names of these unspec codes instead of their raw integer values, aiding debugging. It also enhances type safety by using a dedicated type for unspec codes.