aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2023-10-20 12:22:52 +0200
committerRichard Biener <rguenther@suse.de>2023-10-20 14:14:13 +0200
commitd70575f542f575133eb4c49eda89ab61eedf83b8 (patch)
tree7d99caa893c3fa3df139ccd7fde7ac809954d85f /gcc/cp
parentc7ec7bd1c6590cf4eed267feab490288e0b8d691 (diff)
downloadgcc-d70575f542f575133eb4c49eda89ab61eedf83b8.zip
gcc-d70575f542f575133eb4c49eda89ab61eedf83b8.tar.gz
gcc-d70575f542f575133eb4c49eda89ab61eedf83b8.tar.bz2
tree-optimization/111891 - fix assert in vectorizable_simd_clone_call
The following fixes the assert in vectorizable_simd_clone_call to assert we have a vector type during transform. Whether we have one during analysis depends on whether another SLP user decided on the type of a constant/external already. When we end up with a mismatch in desire the updating will fail and make vectorization fail. PR tree-optimization/111891 * tree-vect-stmts.cc (vectorizable_simd_clone_call): Fix assert. * gfortran.dg/pr111891.f90: New testcase.
Diffstat (limited to 'gcc/cp')
0 files changed, 0 insertions, 0 deletions