Landing: d45381550ec2
Project / Subsystem
gcc / tree-optimization
Date
2026-09-29
Author
Richard Biener
Commit
d45381550ec25de9c5eb7168bad85586109b4991
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- tree-optimization
- patch_id
- —
- commit_hash
- d45381550ec25de9c5eb7168bad85586109b4991
- source_type
- github
- headline
- tree-optimization/60075 - fix address-space handling in PRE
- tldr
- Corrects address-space handling in the PRE optimization pass.
- author
- Richard Biener
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • optimization
- • tree-optimization
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-09-29T00:00:00.000Z
This commit fixes an issue in the Partial Redundancy Elimination (PRE) optimization pass where address-space qualification was disregarded when handling COMPONENT_REF operations. By ensuring that the address-space context is correctly considered, this resolves a bug (PR60075) and ensures more accurate optimization. A new test case has been added to verify the fix.