Landing: ce4b6019b875

Project / Subsystem

gcc / gcc

Date

2026-10-05

Author

Andrew MacLeod

Commit

ce4b6019b8758b04a8733bc672adbbaa384c752a

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
gcc
patch_id
—
commit_hash
ce4b6019b8758b04a8733bc672adbbaa384c752a
source_type
github
headline
Clear range info when freeing an SSA name
tldr
Ensures range information is cleared when SSA names are freed, fixing bugs related to def-chain recalculation and import fields.
author
Andrew MacLeod
outcome
committed
performance_win
false
breaking_change
false
series_id
—
series_parts
[]
tags
  • • ssa
  • • optimization
  • • compiler bug
  • • tree-optimization
discussion_id_link
—
bugzilla_pr
—
date
2026-10-05T00:00:00.000Z

This commit addresses issues in GCC’s SSA (Static Single Assignment) name management by ensuring that range information is cleared when an SSA name is released. It also corrects a bug where clearing the def chain immediately caused it to be rebuilt unnecessarily and ensures the import field is also cleared. These fixes prevent incorrect behavior and potential ICEs, and include new test cases to verify the corrections.