aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran/resolve.c
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2020-01-17 09:39:45 +0100
committerJakub Jelinek <jakub@redhat.com>2020-01-17 09:39:45 +0100
commitdc9ba9d045d0cfc06207806fd64b06ab3304b196 (patch)
tree9ec208f5745572a28fd4923bca5e820abf50994d /gcc/fortran/resolve.c
parent40111910b0aa897b3e4c8d60c0c263e5c1a50446 (diff)
downloadgcc-dc9ba9d045d0cfc06207806fd64b06ab3304b196.zip
gcc-dc9ba9d045d0cfc06207806fd64b06ab3304b196.tar.gz
gcc-dc9ba9d045d0cfc06207806fd64b06ab3304b196.tar.bz2
vect: Fix ICE in vectorizable_comparison PR93292
The following testcase ICEs on powerpc64le-linux. The problem is that get_vectype_for_scalar_type returns NULL, and while most places in tree-vect-stmts.c handle that case, this spot doesn't and punts only if it is non-NULL, but with different number of elts than expected. 2020-01-17 Jakub Jelinek <jakub@redhat.com> PR tree-optimization/93292 * tree-vect-stmts.c (vectorizable_comparison): Punt also if get_vectype_for_scalar_type returns NULL. * g++.dg/opt/pr93292.C: New test.
Diffstat (limited to 'gcc/fortran/resolve.c')
0 files changed, 0 insertions, 0 deletions