Landing: 9d276bf05745
Project / Subsystem
gcc / tree-optimization
Date
2026-05-05
Author
Richard Biener
Commit
9d276bf057459de93ba304cdf780dbff3882491e
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- tree-optimization
- patch_id
- —
- commit_hash
- 9d276bf057459de93ba304cdf780dbff3882491e
- source_type
- github
- headline
- Fix ICE when associating DOT_PROD_EXPR in SLP vectorization.
- tldr
- Prevents an internal compiler error (ICE) during SLP vectorization when handling DOT_PROD_EXPR by avoiding non-binary associatable statements.
- author
- Richard Biener
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • tree-optimization
- • vectorization
- • slp
- • ice
- • bugfix
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-05-05T00:00:00.000Z
This commit fixes an internal compiler error (ICE) that could occur during SLP (Superword Level Parallelism) vectorization when dealing with DOT_PROD_EXPR nodes. The issue arose when non-binary associatable statements were incorrectly passed to vect_slp_linearize_chain. The fix adds a check to prevent this, thus avoiding the ICE. A new test case is added to verify the fix.