]> git.ipfire.org Git - thirdparty/gcc.git/commit
middle-end: Fix ICE in poly-int.h due to SLP.
authorRichard Ball <richard.ball@arm.com>
Thu, 1 Feb 2024 17:18:28 +0000 (17:18 +0000)
committerRichard Ball <richard.ball@arm.com>
Thu, 1 Feb 2024 17:18:28 +0000 (17:18 +0000)
commit4571b4d413a4ba5f1e2d429a2623180ad1c73c0f
tree88a77b9931464fc7ae8365294b86bfec18c6acbd
parent314cbfe2980b32f5b91141be54dd019028284320
middle-end: Fix ICE in poly-int.h due to SLP.

Adds a check to ensure that the input vector arguments
to a function are not variable length. Previously, only the
output vector of a function was checked.

The ICE in question is within the neon-sve-bridge.c test,
and is related to https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111268

gcc/ChangeLog:
PR tree-optimization/111268
* tree-vect-slp.cc (vectorizable_slp_permutation_1):
Add variable-length check for vector input arguments
to a function.
gcc/tree-vect-slp.cc