aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2024-10-02 11:27:09 +0200
committerRichard Biener <rguenth@gcc.gnu.org>2024-10-02 11:29:36 +0200
commit79ea0aab75732c26c38d4b64f1d97acedf80155a (patch)
treecb1ebe6ec77de9a5a72e78eac1402527924386da /gcc
parentba7632674a2a9ba8193f082c8ca9614c642de3b7 (diff)
downloadgcc-79ea0aab75732c26c38d4b64f1d97acedf80155a.zip
gcc-79ea0aab75732c26c38d4b64f1d97acedf80155a.tar.gz
gcc-79ea0aab75732c26c38d4b64f1d97acedf80155a.tar.bz2
testsuite/116660 - adjust testcases unexpectedly failing on 32bit sparc
Both testcases miss some effective target requires. PR testsuite/116660 * gcc.dg/vect/no-scevccp-outer-12.c: Add vect_pack_trunc. * gcc.dg/vect/vect-multitypes-6.c: Add vect_char_add, remove explicit 32bit sparc XFAIL.
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/gcc.dg/vect/no-scevccp-outer-12.c1
-rw-r--r--gcc/testsuite/gcc.dg/vect/vect-multitypes-6.c3
2 files changed, 3 insertions, 1 deletions
diff --git a/gcc/testsuite/gcc.dg/vect/no-scevccp-outer-12.c b/gcc/testsuite/gcc.dg/vect/no-scevccp-outer-12.c
index 6ace6ad..b94256d 100644
--- a/gcc/testsuite/gcc.dg/vect/no-scevccp-outer-12.c
+++ b/gcc/testsuite/gcc.dg/vect/no-scevccp-outer-12.c
@@ -1,4 +1,5 @@
/* { dg-require-effective-target vect_int } */
+/* { dg-require-effective-target vect_pack_trunc } */
#include <stdarg.h>
#include "tree-vect.h"
diff --git a/gcc/testsuite/gcc.dg/vect/vect-multitypes-6.c b/gcc/testsuite/gcc.dg/vect/vect-multitypes-6.c
index 73d3b30..e03d62f 100644
--- a/gcc/testsuite/gcc.dg/vect/vect-multitypes-6.c
+++ b/gcc/testsuite/gcc.dg/vect/vect-multitypes-6.c
@@ -1,6 +1,7 @@
/* Disabling epilogues until we find a better way to deal with scans. */
/* { dg-additional-options "--param vect-epilogues-nomask=0" } */
/* { dg-require-effective-target vect_int } */
+/* { dg-require-effective-target vect_char_add } */
/* { dg-add-options double_vectors } */
#include <stdarg.h>
@@ -67,7 +68,7 @@ int main (void)
return 0;
}
-/* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" { xfail { sparc*-*-* && ilp32 } }} } */
+/* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" } } */
/* { dg-final { scan-tree-dump-times "Alignment of access forced using versioning" 6 "vect" { target { vect_no_align && { ! vect_hw_misalign } } } } } */
/* { dg-final { scan-tree-dump-times "Vectorizing an unaligned access" 6 "vect" { xfail { ! { vect_unaligned_possible && vect_align_stack_vars } } } } } */