[gcc r14-4104] Move 'g++.dg/abi/nvptx-[...].C' -> 'g++.target/nvptx/abi-[...].C'

Thomas Schwinge tschwinge@gcc.gnu.org
Mon Sep 18 14:37:23 GMT 2023


https://gcc.gnu.org/g:0db533114235539199f6698d8d52c5101107567e

commit r14-4104-g0db533114235539199f6698d8d52c5101107567e
Author: Thomas Schwinge <thomas@codesourcery.com>
Date:   Mon Sep 18 16:36:24 2023 +0200

    Move 'g++.dg/abi/nvptx-[...].C' -> 'g++.target/nvptx/abi-[...].C'
    
    ... 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.

Diff:
---
 gcc/testsuite/{g++.dg/abi/nvptx-nrv1.C => g++.target/nvptx/abi-nrv1.C}  | 2 +-
 .../{g++.dg/abi/nvptx-ptrmem1.C => g++.target/nvptx/abi-ptrmem1.C}      | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/gcc/testsuite/g++.dg/abi/nvptx-nrv1.C b/gcc/testsuite/g++.target/nvptx/abi-nrv1.C
similarity index 97%
rename from gcc/testsuite/g++.dg/abi/nvptx-nrv1.C
rename to gcc/testsuite/g++.target/nvptx/abi-nrv1.C
index 6a05b4fc4c5..019d23ac29d 100644
--- a/gcc/testsuite/g++.dg/abi/nvptx-nrv1.C
+++ b/gcc/testsuite/g++.target/nvptx/abi-nrv1.C
@@ -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.
diff --git a/gcc/testsuite/g++.dg/abi/nvptx-ptrmem1.C b/gcc/testsuite/g++.target/nvptx/abi-ptrmem1.C
similarity index 96%
rename from gcc/testsuite/g++.dg/abi/nvptx-ptrmem1.C
rename to gcc/testsuite/g++.target/nvptx/abi-ptrmem1.C
index 0c57f29fa21..346baaf9d60 100644
--- a/gcc/testsuite/g++.dg/abi/nvptx-ptrmem1.C
+++ b/gcc/testsuite/g++.target/nvptx/abi-ptrmem1.C
@@ -1,4 +1,4 @@
-// { dg-do compile { target nvptx-*-* } }
+// { dg-do compile }
 // { dg-additional-options "-m64" }
 
 // ptr to member data is like sizeof.


More information about the Gcc-cvs mailing list