Landing: 1fd6f38b133f

Project / Subsystem

gcc / tree-optimization

Date

2026-08-25

Author

Richard Biener

Commit

1fd6f38b133f7c4c2b87840dae93b68e2dc03b24

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
tree-optimization
patch_id
—
commit_hash
1fd6f38b133f7c4c2b87840dae93b68e2dc03b24
source_type
github
headline
Fix ICE with partly populated vectors in SLP scheduling.
tldr
Corrects an ICE by ensuring vector scheduling fails gracefully when constraints are not met.
author
Richard Biener
outcome
committed
performance_win
false
breaking_change
false
series_id
—
series_parts
[]
tags
  • • tree-optimization
  • • vectorization
  • • compiler
discussion_id_link
—
bugzilla_pr
—
date
2026-08-25T00:00:00.000Z

This commit fixes an ICE (Internal Compiler Error) that occurred during SLP (Superword Level Parallelism) scheduling. The issue arose when constraints for potentially trapping statements could not be met. The fix modifies vect_schedule_slp_node to treat such unmet constraints as a scheduling failure instead of an assertion failure, thereby preventing the ICE and ensuring test coverage.