]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Couple of testsuite adjustments
authorEric Botcazou <ebotcazou@adacore.com>
Tue, 29 Nov 2022 10:43:32 +0000 (11:43 +0100)
committerEric Botcazou <ebotcazou@adacore.com>
Tue, 29 Nov 2022 10:46:31 +0000 (11:46 +0100)
gcc/testsuite/
* gcc.dg/ipa/iinline-attr.c: XFAIL on SPARC.
* gcc.dg/signbit-2.c: Replace vect_int selector by vect_shift.

gcc/testsuite/gcc.dg/ipa/iinline-attr.c
gcc/testsuite/gcc.dg/signbit-2.c

index 6309afe50f06ff074372b27d313ede8aa8d38e2e..4b9e8574795a10f00cc3696efac987f1be61be1b 100644 (file)
@@ -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.  */
index 99a455bc7d7aa3a3e8718c024c540e1b5beeb51e..16242258207032fe8365af381e4a7a2583c0febf 100644 (file)
@@ -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-*-* } } } */