Landing: 8aaa5f6e6207
Project / Subsystem
gcc / function
Date
2026-09-16
Author
Oleg Tolmatcev
Commit
8aaa5f6e62075c8bd3cfe7ec2d4f3543b3e6eccd
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- function
- patch_id
- —
- commit_hash
- 8aaa5f6e62075c8bd3cfe7ec2d4f3543b3e6eccd
- source_type
- github
- headline
- function: Honour over-alignment in stack local allocation
- tldr
- Ensures stack local object allocation respects required alignment beyond platform limits.
- author
- Oleg Tolmatcev
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • optimization
- • stack alignment
- • x86
- • aarch64
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-09-16T00:00:00.000Z
This change modifies how the compiler assigns stack space for local variables, ensuring that objects requiring alignment beyond the platform’s maximum supported stack alignment are handled correctly. It reserves extra space and performs run-time alignment, preventing issues like memory access faults on architectures like x86.