Landing: 84a9771f9ab1
Project / Subsystem
gcc / gcc
Date
2026-05-29
Author
Andrew MacLeod
Commit
84a9771f9ab1f494dae5a0ed4a96bf4606d935dd
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- gcc
- patch_id
- —
- commit_hash
- 84a9771f9ab1f494dae5a0ed4a96bf4606d935dd
- source_type
- github
- headline
- GTY markers added to `range_storage` classes for garbage collection.
- tldr
- GTY markers have been added to `vrange_storage` classes in GCC to prepare for future pointer analysis and garbage collection within value range data structures.
- author
- Andrew MacLeod
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • internals
- • memory-management
- • optimization
- • refactoring
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-05-29T00:00:00.000Z
GCC’s internal vrange_storage classes, which are critical for storing value range information used in various optimizations, have been updated with GTY markers. This change is a preparatory step for future enhancements, specifically the introduction of a points-to tree within prange analysis. The GTY markers enable the compiler’s garbage collection system to correctly track and manage memory for these data structures, ensuring memory safety and paving the way for more sophisticated pointer analysis capabilities.