Landing: aa9661990889

Project / Subsystem

gcc / gcc

Date

2026-08-20

Author

Andrew MacLeod

Commit

aa96619908895ff3b0ddf1d9d9a570f7ec888c41

Source

github

Perf win

Yes

Breaking

No

All attributes

project
gcc
subsystem
gcc
patch_id
—
commit_hash
aa96619908895ff3b0ddf1d9d9a570f7ec888c41
source_type
github
headline
Improve infer::clear performance
tldr
Optimizes range inference clear operations by using a linked list.
author
Andrew MacLeod
outcome
committed
performance_win
true
breaking_change
false
series_id
—
series_parts
[]
tags
  • • optimization
  • • gcc
  • • performance
  • • compiler
discussion_id_link
—
bugzilla_pr
—
date
2026-08-20T00:00:00.000Z

The performance of range inference clear operations has been improved by replacing a full control flow graph walk with a traversal of a linked list. This optimization focuses the clearing process on relevant data structures, reducing overhead and speeding up the range analysis phase of the compiler, addressing PR tree-optimization/126856.