Landing: c2cc06fdce76

Project / Subsystem

gcc / tree-vectorization

Date

2026-08-05

Author

Richard Biener

Commit

c2cc06fdce766d93e45d79ba871b12158c7691d0

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
tree-vectorization
patch_id
—
commit_hash
c2cc06fdce766d93e45d79ba871b12158c7691d0
source_type
github
headline
Fix vectorization of calls with SLP permute nodes.
tldr
Resolves an ICE when vectorizing calls with SLP permute nodes by improving scalar argument type retrieval.
author
Richard Biener
outcome
committed
performance_win
false
breaking_change
false
series_id
—
series_parts
[]
tags
  • • vectorization
  • • optimization
  • • ICE
discussion_id_link
—
bugzilla_pr
—
date
2026-08-05T00:00:00.000Z

A latent issue in the call vectorization pass has been fixed, preventing an internal compiler error (ICE). The problem occurred when the first argument of a call was an SLP permute node, leading vect_is_simple_use to assign error_mark_node to the scalar operand. This resulted in subsequent argument processing failing. The fix ensures the scalar argument type is correctly retrieved from the representative call statement, rather than relying on the legacy scalar operand result.