Landing: 8c7c10e82d66
Project / Subsystem
gcc / tree-optimization
Date
2026-09-11
Author
Richard Biener
Commit
8c7c10e82d661785181f199fdc6b24890b30a54e
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- tree-optimization
- patch_id
- —
- commit_hash
- 8c7c10e82d661785181f199fdc6b24890b30a54e
- source_type
- github
- headline
- Tree optimizer fixes ICE with lane-reducing reduction.
- tldr
- Tree optimizer corrects loop mask registration in lane-reducing reductions, fixing an ICE and a loop mask issue.
- author
- Richard Biener
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • tree-optimization
- • vectorization
- • compiler bug
- • ICE
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-09-11T00:00:00.000Z
An internal compiler error (ICE) related to lane-reducing reductions has been fixed in the tree optimizer. The issue stemmed from the costing code adjusting ncopies_for_cost before it was used for loop mask registration. This change ensures that loop mask registration occurs after costing, resolving the ICE and correcting incorrect loop mask behavior.