aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran/iresolve.c
diff options
context:
space:
mode:
authorRichard Sandiford <richard.sandiford@arm.com>2019-12-29 09:27:43 +0000
committerRichard Sandiford <rsandifo@gcc.gnu.org>2019-12-29 09:27:43 +0000
commit4bbd661e9937d46cc66182423f1946761a4f31c9 (patch)
tree64b1b51e8610f9a05d5abd76dc1c5545c51ee74f /gcc/fortran/iresolve.c
parentba2bf6feb80bd8e888ac871bbdbeddb20f60943e (diff)
downloadgcc-4bbd661e9937d46cc66182423f1946761a4f31c9.zip
gcc-4bbd661e9937d46cc66182423f1946761a4f31c9.tar.gz
gcc-4bbd661e9937d46cc66182423f1946761a4f31c9.tar.bz2
Check for a supported comparison when using EXTRACT_LAST_REDUCTION
The EXTRACT_LAST_REDUCTION handling needs to generate a separate comparison instruction that feeds the vector mask argument of the IFN_EXTRACT_LAST call. We weren't checking whether that comparison was supported, leading to an ICE on the testcase. 2019-12-29 Richard Sandiford <richard.sandiford@arm.com> gcc/ * tree-vect-stmts.c (vectorizable_condition): For extract-last reductions, check that the target supports the required comparison operation. gcc/testsuite/ * gcc.dg/vect/vect-cond-12.c: New test. From-SVN: r279752
Diffstat (limited to 'gcc/fortran/iresolve.c')
0 files changed, 0 insertions, 0 deletions