]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Move 'g++.dg/abi/nvptx-[...].C' -> 'g++.target/nvptx/abi-[...].C'
authorThomas Schwinge <thomas@codesourcery.com>
Mon, 18 Sep 2023 14:36:24 +0000 (16:36 +0200)
committerThomas Schwinge <thomas@codesourcery.com>
Mon, 18 Sep 2023 14:36:52 +0000 (16:36 +0200)
... instead of burying these nvptx-specific test cases within the generic ones.

gcc/testsuite/
* g++.dg/abi/nvptx-nrv1.C: Move...
* g++.target/nvptx/abi-nrv1.C: ... here.
* g++.dg/abi/nvptx-ptrmem1.C: Move...
* g++.target/nvptx/abi-ptrmem1.C: ... here.

gcc/testsuite/g++.target/nvptx/abi-nrv1.C [moved from gcc/testsuite/g++.dg/abi/nvptx-nrv1.C with 97% similarity]
gcc/testsuite/g++.target/nvptx/abi-ptrmem1.C [moved from gcc/testsuite/g++.dg/abi/nvptx-ptrmem1.C with 96% similarity]

similarity index 97%
rename from gcc/testsuite/g++.dg/abi/nvptx-nrv1.C
rename to gcc/testsuite/g++.target/nvptx/abi-nrv1.C
index 6a05b4fc4c5bbe80b2642435770623178cce7543..019d23ac29dd39019561dbbd94e3519639ff03d0 100644 (file)
@@ -1,4 +1,4 @@
-// { dg-do compile { target nvptx-*-* } }
+// { dg-do compile }
 // { dg-additional-options "-m64" }
 
 // Check NRV optimization doesn't change the PTX prototypes.
similarity index 96%
rename from gcc/testsuite/g++.dg/abi/nvptx-ptrmem1.C
rename to gcc/testsuite/g++.target/nvptx/abi-ptrmem1.C
index 0c57f29fa213c34a21791c048e6c3757e4a6de24..346baaf9d60e01a6efb693672fe5162b3a758b4e 100644 (file)
@@ -1,4 +1,4 @@
-// { dg-do compile { target nvptx-*-* } }
+// { dg-do compile }
 // { dg-additional-options "-m64" }
 
 // ptr to member data is like sizeof.