Landing: a2f39ed4bdbd
Project / Subsystem
gcc / gcc
Date
2026-08-31
Author
Andrew MacLeod
Commit
a2f39ed4bdbdb8b26b3bd3de6a8007903d03159d
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- gcc
- patch_id
- —
- commit_hash
- a2f39ed4bdbdb8b26b3bd3de6a8007903d03159d
- source_type
- github
- headline
- Optimize value-range-storage to avoid unused field access.
- tldr
- Avoids accessing unused fields in prange_storage::set_prange for correctness and potential minor performance gains.
- author
- Andrew MacLeod
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • optimization
- • correctness
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-08-31T00:00:00.000Z
This commit refactors the set_prange function within value-range-storage.cc to only access bitmask and points_to fields when the relevant kind necessitates it. This change prevents the incorrect or unnecessary access of these fields, addressing a PR for compiler optimization issues.