Landing: 9ca8b1b9298c
Project / Subsystem
gcc / alpha
Date
2026-08-29
Author
Matt Turner
Commit
9ca8b1b9298cd2ae5d2a0b74af31278ed40be157
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- alpha
- patch_id
- —
- commit_hash
- 9ca8b1b9298cd2ae5d2a0b74af31278ed40be157
- source_type
- github
- headline
- alpha: Decline __builtin_frame_address for nonzero counts.
- tldr
- Alpha architecture now correctly rejects calls to __builtin_frame_address with nonzero arguments, returning an error.
- author
- Matt Turner
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- gcc:alpha: decline __builtin_frame_address for nonzero counts
- series_parts
- []
- tags
-
- • alpha
- • builtins
- • debugging
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-08-29T00:00:00.000Z
The Alpha architecture’s frame structure does not support accessing caller frames directly. This change modifies FRAME_ADDR_RTX to return an error for nonzero counts passed to __builtin_frame_address. This aligns with the architecture’s limitations, preventing the emission of incorrect text addresses and improving diagnostic messages.