Landing: dc094853da34

Project / Subsystem

gcc / gcc/tree-optimization

Date

2026-08-12

Author

Andrew MacLeod

Commit

dc094853da348f705f95ed0a863feeeea3cd52c9

Source

github

Perf win

Yes

Breaking

No

All attributes

project
gcc
subsystem
gcc/tree-optimization
patch_id
—
commit_hash
dc094853da348f705f95ed0a863feeeea3cd52c9
source_type
github
headline
Use logical depth limit in fast VRP
tldr
Limits fast VRP iterations using logical depth to prevent exponential blow-up.
author
Andrew MacLeod
outcome
committed
performance_win
true
breaking_change
false
series_id
—
series_parts
[]
tags
  • • optimization
  • • performance
discussion_id_link
—
bugzilla_pr
—
date
2026-08-12T00:00:00.000Z

This commit enhances the fast Value Range Propagation (VRP) analysis by incorporating a logical_depth limit. This limit is crucial for preventing potentially exponential execution time in complex scenarios. By constraining the analysis depth, the compiler avoids excessive computation, ensuring faster and more predictable optimization performance.