Landing: 8d32122f1a69

Project / Subsystem

gcc / tree-optimization

Date

2026-08-25

Author

Richard Biener

Commit

8d32122f1a692e841ee3c2d27f3200a712f9f145

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
tree-optimization
patch_id
—
commit_hash
8d32122f1a692e841ee3c2d27f3200a712f9f145
source_type
github
headline
Zero-pad vectors in constant creation to fix ICE.
tldr
Fixes an ICE related to vector constant creation by ensuring proper zero-padding.
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 resolves an ICE (Internal Compiler Error) that occurred when creating partly populated vectors. The issue stemmed from a failure to zero-pad excess elements in vect_create_constant_vectors. This change ensures that all elements in the vector are properly initialized, preventing the ICE and addressing related bugs in vectorizable conversions and demotions.