From ce0607bbcdfdb5bb1653cf40db9f205516f526b5 Mon Sep 17 00:00:00 2001 From: Alan Hayward Date: Wed, 8 Jun 2016 08:26:38 +0000 Subject: [PATCH] vect-live-2.c: Update effective target. 2016-06-08 Alan Hayward gcc/testsuite/ * gcc.dg/vect/vect-live-2.c: Update effective target. * gcc.dg/vect/vect-live-slp-3.c: Likewise. * lib/target-supports.exp: Add aarch64 to vect_long. From-SVN: r237197 --- gcc/testsuite/ChangeLog | 6 ++++++ gcc/testsuite/gcc.dg/vect/vect-live-2.c | 3 ++- gcc/testsuite/gcc.dg/vect/vect-live-slp-3.c | 2 +- gcc/testsuite/lib/target-supports.exp | 3 ++- 4 files changed, 11 insertions(+), 3 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 0177653452b..9ea760fa0db 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2016-06-08 Alan Hayward + + * gcc.dg/vect/vect-live-2.c: Update effective target. + * gcc.dg/vect/vect-live-slp-3.c: Likewise. + * lib/target-supports.exp: Add aarch64 to vect_long. + 2016-06-08 Marek Polacek PR c/71418 diff --git a/gcc/testsuite/gcc.dg/vect/vect-live-2.c b/gcc/testsuite/gcc.dg/vect/vect-live-2.c index 53adc3fee00..9460624a515 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-live-2.c +++ b/gcc/testsuite/gcc.dg/vect/vect-live-2.c @@ -1,4 +1,5 @@ -/* { dg-require-effective-target vect_int } */ +/* { dg-require-effective-target vect_long } */ +/* { dg-require-effective-target vect_shift } */ /* { dg-additional-options "-fno-tree-scev-cprop" } */ #include "tree-vect.h" diff --git a/gcc/testsuite/gcc.dg/vect/vect-live-slp-3.c b/gcc/testsuite/gcc.dg/vect/vect-live-slp-3.c index aacf5cb9807..70947afcc45 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-live-slp-3.c +++ b/gcc/testsuite/gcc.dg/vect/vect-live-slp-3.c @@ -1,4 +1,4 @@ -/* { dg-require-effective-target vect_int } */ +/* { dg-require-effective-target vect_long } */ /* { dg-additional-options "-fno-tree-scev-cprop" } */ #include "tree-vect.h" diff --git a/gcc/testsuite/lib/target-supports.exp b/gcc/testsuite/lib/target-supports.exp index f4cb276ed97..0b991a5c419 100644 --- a/gcc/testsuite/lib/target-supports.exp +++ b/gcc/testsuite/lib/target-supports.exp @@ -4124,7 +4124,8 @@ proc check_effective_target_vect_long { } { && ![istarget powerpc-*-linux*paired*]) && [check_effective_target_ilp32]) || [check_effective_target_arm32] - || ([istarget sparc*-*-*] && [check_effective_target_ilp32]) } { + || ([istarget sparc*-*-*] && [check_effective_target_ilp32]) + || [istarget aarch64*-*-*] } { set answer 1 } else { set answer 0 -- 2.30.2