aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2022-11-29 11:43:32 +0100
committerEric Botcazou <ebotcazou@adacore.com>2022-11-29 11:46:31 +0100
commitffabce849033e57ebaf60029822b81e981681c21 (patch)
tree1707b82ed0819ae77c6b6870e9198959d539eba5 /gcc
parent1ad898d82707376313d97bb81cf40c225b05bacf (diff)
downloadgcc-ffabce849033e57ebaf60029822b81e981681c21.zip
gcc-ffabce849033e57ebaf60029822b81e981681c21.tar.gz
gcc-ffabce849033e57ebaf60029822b81e981681c21.tar.bz2
Couple of testsuite adjustments
gcc/testsuite/ * gcc.dg/ipa/iinline-attr.c: XFAIL on SPARC. * gcc.dg/signbit-2.c: Replace vect_int selector by vect_shift.
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/gcc.dg/ipa/iinline-attr.c4
-rw-r--r--gcc/testsuite/gcc.dg/signbit-2.c8
2 files changed, 6 insertions, 6 deletions
diff --git a/gcc/testsuite/gcc.dg/ipa/iinline-attr.c b/gcc/testsuite/gcc.dg/ipa/iinline-attr.c
index 6309afe..4b9e857 100644
--- a/gcc/testsuite/gcc.dg/ipa/iinline-attr.c
+++ b/gcc/testsuite/gcc.dg/ipa/iinline-attr.c
@@ -23,5 +23,5 @@ int test (void)
return 0;
}
-/* { dg-final { scan-ipa-dump "hooray\[^\\n\]*inline copy in test" "inline" { xfail visium-*-* } } } */
-/* Missing back-end support for attribute __optimize__ on Visium. */
+/* { dg-final { scan-ipa-dump "hooray\[^\\n\]*inline copy in test" "inline" { xfail sparc*-*-* visium-*-* } } } */
+/* Missing back-end support for attribute __optimize__ on SPARC and Visium. */
diff --git a/gcc/testsuite/gcc.dg/signbit-2.c b/gcc/testsuite/gcc.dg/signbit-2.c
index 99a455b..1624225 100644
--- a/gcc/testsuite/gcc.dg/signbit-2.c
+++ b/gcc/testsuite/gcc.dg/signbit-2.c
@@ -1,5 +1,5 @@
-/* { dg-do assemble } */
-/* { dg-options "-O3 --save-temps -fdump-tree-optimized" } */
+/* { dg-do compile } */
+/* { dg-options "-O3 -fdump-tree-optimized" } */
/* This test does not work when the truth type does not match vector type. */
/* { dg-additional-options "-mno-avx512f" { target { i?86-*-* x86_64-*-* } } } */
@@ -21,6 +21,6 @@ void fun2(int32_t *x, int n)
}
/* Xfail amdgcn where vector truth type is not integer type. */
-/* { dg-final { scan-tree-dump {\s+>\s+\{ 0(, 0)+ \}} optimized { target vect_int xfail amdgcn-*-* } } } */
-/* { dg-final { scan-tree-dump {\s+>\s+0} optimized { target { ! vect_int } } } } */
+/* { dg-final { scan-tree-dump {\s+>\s+\{ 0(, 0)+ \}} optimized { target vect_shift xfail amdgcn-*-* } } } */
+/* { dg-final { scan-tree-dump {\s+>\s+0} optimized { target { ! vect_shift } } } } */
/* { dg-final { scan-tree-dump-not {\s+>>\s+31} optimized { xfail amdgcn-*-* } } } */