From: Joel Hutton Date: Tue, 26 Nov 2019 22:11:39 +0000 (+0000) Subject: Update vect_char_add target selector to use its own cache X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e4c935cb98add40d0a6350a798a8258951dfc9d9;p=gcc.git 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 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 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 32ba76b21f7..a8926cc8809 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2019-11-26 Joel Hutton + + 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 PR c++/92648 diff --git a/gcc/testsuite/lib/target-supports.exp b/gcc/testsuite/lib/target-supports.exp index 5fe1e83492c..a4418a31516 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*-*-*]