Landing: d6ca7e8e1cf6

Project / Subsystem

gcc / tree-optimization

Date

2026-09-23

Author

Richard Biener

Commit

d6ca7e8e1cf62734f0257cdc668da907cf3e0297

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
tree-optimization
patch_id
—
commit_hash
d6ca7e8e1cf62734f0257cdc668da907cf3e0297
source_type
github
headline
Fix offset computation association in VNVN
tldr
Corrects an offset computation in GCC's SCCVN pass to prevent potential overflows and UBSAN issues.
author
Richard Biener
outcome
committed
performance_win
false
breaking_change
false
series_id
—
series_parts
[]
tags
  • • optimization
  • • bugfix
  • • UBSAN
discussion_id_link
—
bugzilla_pr
—
date
2026-09-23T00:00:00.000Z

GCC’s Sparse Conditional Constant Propagation (SCCVN) pass has been fixed to correctly associate offset computations. This change addresses a bug flagged by UBSAN, ensuring that the computation order prevents overflows and accurately reflects the intended logic, thereby improving the robustness of the optimization.