diff options
author | Richard Biener <rguenther@suse.de> | 2023-10-20 12:22:52 +0200 |
---|---|---|
committer | Richard Biener <rguenther@suse.de> | 2023-10-20 14:14:13 +0200 |
commit | d70575f542f575133eb4c49eda89ab61eedf83b8 (patch) | |
tree | 7d99caa893c3fa3df139ccd7fde7ac809954d85f /gcc/cp/tree.cc | |
parent | c7ec7bd1c6590cf4eed267feab490288e0b8d691 (diff) | |
download | gcc-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/tree.cc')
0 files changed, 0 insertions, 0 deletions