aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Hutton <Joel.Hutton@arm.com>2019-11-26 22:11:39 +0000
committerRichard Sandiford <rsandifo@gcc.gnu.org>2019-11-26 22:11:39 +0000
commite4c935cb98add40d0a6350a798a8258951dfc9d9 (patch)
tree68b2ba0ff9fec055d4f0fefd8a7a89e80ad6c1f4
parent4e4a8c28f3da0264eb76dff0efe21b4b5ce63b84 (diff)
downloadgcc-e4c935cb98add40d0a6350a798a8258951dfc9d9.zip
gcc-e4c935cb98add40d0a6350a798a8258951dfc9d9.tar.gz
gcc-e4c935cb98add40d0a6350a798a8258951dfc9d9.tar.bz2
Update vect_char_add target selector to use its own cache
This patch updates the vect_char_add target selector to use its own cache instead of the vect_int cache. This was causing a situation where bb-slp-40.c would fail on sparc when run after other tests that use the vect_int target selector, but pass when run on its own. 2019-11-26 Joel Hutton <Joel.Hutton@arm.com> gcc/testsuite/ PR testsuite/92391 * lib/target-supports.exp (check_effective_target_vect_char_add): Use a separate cache entry from vect_int. From-SVN: r278738
-rw-r--r--gcc/testsuite/ChangeLog6
-rw-r--r--gcc/testsuite/lib/target-supports.exp2
2 files changed, 7 insertions, 1 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 32ba76b..a8926cc 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,9 @@
+2019-11-26 Joel Hutton <Joel.Hutton@arm.com>
+
+ PR testsuite/92391
+ * lib/target-supports.exp (check_effective_target_vect_char_add):
+ Use a separate cache entry from vect_int.
+
2019-11-26 Jakub Jelinek <jakub@redhat.com>
PR c++/92648
diff --git a/gcc/testsuite/lib/target-supports.exp b/gcc/testsuite/lib/target-supports.exp
index 5fe1e83..a4418a3 100644
--- a/gcc/testsuite/lib/target-supports.exp
+++ b/gcc/testsuite/lib/target-supports.exp
@@ -5753,7 +5753,7 @@ proc check_effective_target_vect_bswap { } {
# one vector length.
proc check_effective_target_vect_char_add { } {
- return [check_cached_effective_target_indexed vect_int {
+ return [check_cached_effective_target_indexed vect_char_add {
expr {
[istarget i?86-*-*] || [istarget x86_64-*-*]
|| ([istarget powerpc*-*-*]