Landing: 8ff281504176
Project / Subsystem
gcc / builtins
Date
2026-08-29
Author
Matt Turner
Commit
8ff281504176efa3ab74468de09fd592a1ea7f10
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- builtins
- patch_id
- —
- commit_hash
- 8ff281504176efa3ab74468de09fd592a1ea7f10
- source_type
- github
- headline
- builtins: Pass frame count to FRAME_ADDR_RTX.
- tldr
- GCC's built-in functions now pass the frame count argument to target-specific FRAME_ADDR_RTX macros.
- author
- Matt Turner
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- gcc:builtins: pass the frame count to frame_addr_rtx
- series_parts
- []
- tags
-
- • builtins
- • debugging
- • compiler
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-08-29T00:00:00.000Z
This change modifies GCC’s built-in function expansion to pass the frame count to the FRAME_ADDR_RTX macro. This allows target architectures to distinguish between requests for the current frame (depth 0) and deeper frames, enabling them to provide more accurate behavior or diagnostics when stack frame access is not supported.