aboutsummaryrefslogtreecommitdiff
path: root/gcc/gimplify.c
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2021-06-21 09:30:41 +0200
committerRichard Biener <rguenther@suse.de>2021-06-21 11:06:27 +0200
commit90f78d5d86598f8cadacfb20d8d98c122a466599 (patch)
treee3f865904d94643995bafce42ed98ee04cceaef6 /gcc/gimplify.c
parent08c85f609a73fb36fdcbd9f327a5a645c20ac816 (diff)
downloadgcc-90f78d5d86598f8cadacfb20d8d98c122a466599.zip
gcc-90f78d5d86598f8cadacfb20d8d98c122a466599.tar.gz
gcc-90f78d5d86598f8cadacfb20d8d98c122a466599.tar.bz2
tree-optimization/101121 - avoid infinite SLP build
The following plugs another hole where we cache a failed SLP build attempt with an all-success 'matches'. It also adds checking that we don't do that. 2021-06-21 Richard Biener <rguenther@suse.de> PR tree-optimization/101121 * tree-vect-slp.c (vect_build_slp_tree_2): To not fail fatally when we just lack a stmt with the desired op when doing permutation. (vect_build_slp_tree): When caching a failed SLP build attempt assert that at least one lane is marked as not matching. * gfortran.dg/pr101121.f: New testcase.
Diffstat (limited to 'gcc/gimplify.c')
0 files changed, 0 insertions, 0 deletions