rs6000: Move more g++.dg powerpc tests to g++.target
authorPaul A. Clarke <pc@us.ibm.com>
Mon, 21 Feb 2022 18:24:58 +0000 (12:24 -0600)
committerPaul A. Clarke <pc@us.ibm.com>
Fri, 15 Apr 2022 15:49:22 +0000 (10:49 -0500)
Also adjust DejaGnu directives, as specifically requiring "powerpc*-*-*" is no
longer required.

2022-04-15  Paul A. Clarke  <pc@us.ibm.com>

gcc/testsuite
* g++.dg/debug/dwarf2/const2.C: Move to g++.target/powerpc.
* g++.dg/other/darwin-minversion-1.C: Likewise.
* g++.dg/eh/ppc64-sighandle-cr.C: Likewise.
* g++.dg/eh/simd-5.C: Likewise.
* g++.dg/eh/simd-4.C: Move to g++.target/powerpc, adjust dg directives.
* g++.dg/eh/uncaught3.C: Likewise.
* g++.dg/other/spu2vmx-1.C: Likewise.

gcc/testsuite/g++.target/powerpc/const2.C [moved from gcc/testsuite/g++.dg/debug/dwarf2/const2.C with 100% similarity]
gcc/testsuite/g++.target/powerpc/darwin-minversion-1.C [moved from gcc/testsuite/g++.dg/other/darwin-minversion-1.C with 100% similarity]
gcc/testsuite/g++.target/powerpc/ppc64-sighandle-cr.C [moved from gcc/testsuite/g++.dg/eh/ppc64-sighandle-cr.C with 100% similarity]
gcc/testsuite/g++.target/powerpc/simd-4.C [moved from gcc/testsuite/g++.dg/eh/simd-4.C with 95% similarity]
gcc/testsuite/g++.target/powerpc/simd-5.C [moved from gcc/testsuite/g++.dg/eh/simd-5.C with 100% similarity]
gcc/testsuite/g++.target/powerpc/spu2vmx-1.C [moved from gcc/testsuite/g++.dg/other/spu2vmx-1.C with 84% similarity]
gcc/testsuite/g++.target/powerpc/uncaught3.C [moved from gcc/testsuite/g++.dg/eh/uncaught3.C with 96% similarity]

similarity index 95%
rename from gcc/testsuite/g++.dg/eh/simd-4.C
rename to gcc/testsuite/g++.target/powerpc/simd-4.C
index 8c9b58b..a01f19c 100644 (file)
@@ -1,4 +1,4 @@
-/* { dg-do run { target powerpc*-*-darwin* } } */
+/* { dg-do run { target *-*-darwin* } } */
 /* { dg-options "-fexceptions -fnon-call-exceptions -O -maltivec" } */
 
 #include <cstdlib>
similarity index 84%
rename from gcc/testsuite/g++.dg/other/spu2vmx-1.C
rename to gcc/testsuite/g++.target/powerpc/spu2vmx-1.C
index d9c8faf..496b46c 100644 (file)
@@ -1,4 +1,4 @@
-/* { dg-do compile { target powerpc*-*-* } } */
+/* { dg-do compile } */
 /* { dg-require-effective-target powerpc_spu } */
 /* { dg-options "-maltivec" } */
 
similarity index 96%
rename from gcc/testsuite/g++.dg/eh/uncaught3.C
rename to gcc/testsuite/g++.target/powerpc/uncaught3.C
index 1b3333e..f891401 100644 (file)
@@ -1,4 +1,4 @@
-// { dg-do compile { target powerpc*-*-darwin* } }
+// { dg-do compile { target *-*-darwin* } }
 // { dg-final { scan-assembler-not "__cxa_get_exception" } }
 // { dg-options "-mmacosx-version-min=10.4" }
 // { dg-additional-options "-Wno-deprecated" { target c++17 } }