Landing: 75321514b919
Project / Subsystem
gcc / analyzer
Date
2026-09-06
Author
linden
Commit
75321514b9193f8f2b54623e903238ea62c50f8f
Source
github
Perf win
Yes
Breaking
No
All attributes
- project
- gcc
- subsystem
- analyzer
- patch_id
- —
- commit_hash
- 75321514b9193f8f2b54623e903238ea62c50f8f
- source_type
- github
- headline
- analyzer: avoid deep-copying program_state when creating an exploded_node
- tldr
- GCC analyzer optimizes exploded_node creation by using move semantics, reducing deep-copy overhead.
- author
- linden
- outcome
- committed
- performance_win
- true
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • analyzer
- • optimization
- • performance
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-09-06T00:00:00.000Z
GCC’s static analyzer now avoids deep-copying program_state when creating new exploded_nodes. By introducing move support for program_state, point_and_state, and exploded_node, the process of creating a new node is reduced from three deep copies to a single move operation, significantly improving performance.