Landing: 14b226ada8dd

Project / Subsystem

gcc / fold-const

Date

2026-08-06

Author

Richard Biener

Commit

14b226ada8ddae0f49656b869309b57958cb24f5

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
fold-const
patch_id
—
commit_hash
14b226ada8ddae0f49656b869309b57958cb24f5
source_type
github
headline
Fix vec_perm_indices construction in selftests.
tldr
Corrects element count for `vec_perm_indices` in GCC selftests.
author
Richard Biener
outcome
committed
performance_win
false
breaking_change
false
series_id
—
series_parts
[]
tags
  • • selftest
  • • vector
  • • cleanup
discussion_id_link
—
bugzilla_pr
—
date
2026-08-06T00:00:00.000Z

This commit fixes an issue in GCC’s selftests related to the construction of vec_perm_indices. Two tests involving mixed VLA (Variable Length Array) and non-VLA types were incorrectly specifying the number of elements for vec_perm_indices, leading to potential errors. The fix ensures the correct element count is provided for these tests.