Landing: 88d833253000
Project / Subsystem
gcc / gcc
Date
2026-04-28
Author
Vladimir N. Makarov
Commit
88d833253000ecf894d7ab09cee56a50971cb8c7
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- gcc
- patch_id
- —
- commit_hash
- 88d833253000ecf894d7ab09cee56a50971cb8c7
- source_type
- github
- headline
- LRA: Fix mode of subreg of const in constant pool.
- tldr
- This patch corrects the mode used for subregisters of constants placed in the constant pool by the LRA.
- author
- Vladimir N. Makarov
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • lra
- • constant pool
- • bugfix
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-04-28T00:00:00.000Z
When the LRA (Local Register Allocator) places a constant value, which is part of a subregister, into the constant pool, it was using the wrong mode for the subregister within the pool memory. This patch corrects the mode to match the original subregister, which fixes a potential issue with incorrect data access. This ensures that subregister values are accessed correctly when loaded from constant pool.