]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
critical-hint-*.{c,f90}: Move from gcc/testsuite to libgomp/testsuite
authorTobias Burnus <tobias@codesourcery.com>
Wed, 22 Jul 2020 10:12:48 +0000 (12:12 +0200)
committerTobias Burnus <tobias@codesourcery.com>
Wed, 22 Jul 2020 10:14:22 +0000 (12:14 +0200)
libgomp/ChangeLog:

* testsuite/libgomp.c-c++-common/critical-hint-1.c: New; moved from
gcc/testsuite/c-c++-common/gomp/.
* testsuite/libgomp.c-c++-common/critical-hint-2.c: Likewise.
* testsuite/libgomp.fortran/critical-hint-1.f90: New; moved
from gcc/testsuite/gfortran.dg/gomp/.
* testsuite/libgomp.fortran/critical-hint-2.f90: Likewise.

gcc/testsuite/ChangeLog:

* c-c++-common/gomp/critical-hint-1.c: Moved to libgomp/.
* c-c++-common/gomp/critical-hint-2.c: Moved to libgomp/.
* gfortran.dg/gomp/critical-hint-1.f90: Moved to libgomp/.
* gfortran.dg/gomp/critical-hint-2.f90: Moved to libgomp/.

libgomp/testsuite/libgomp.c-c++-common/critical-hint-1.c [moved from gcc/testsuite/c-c++-common/gomp/critical-hint-1.c with 98% similarity]
libgomp/testsuite/libgomp.c-c++-common/critical-hint-2.c [moved from gcc/testsuite/c-c++-common/gomp/critical-hint-2.c with 98% similarity]
libgomp/testsuite/libgomp.fortran/critical-hint-1.f90 [moved from gcc/testsuite/gfortran.dg/gomp/critical-hint-1.f90 with 99% similarity]
libgomp/testsuite/libgomp.fortran/critical-hint-2.f90 [moved from gcc/testsuite/gfortran.dg/gomp/critical-hint-2.f90 with 99% similarity]

similarity index 98%
rename from gcc/testsuite/c-c++-common/gomp/critical-hint-1.c
rename to libgomp/testsuite/libgomp.c-c++-common/critical-hint-1.c
index 510f8abef80db96864f6e59fa9646648c9af283f..1e49747477bae32d03758b827866ece57e064581 100644 (file)
@@ -1,3 +1,5 @@
+/* { dg-do compile } */
+
 #include <omp.h>
 
 void
similarity index 98%
rename from gcc/testsuite/c-c++-common/gomp/critical-hint-2.c
rename to libgomp/testsuite/libgomp.c-c++-common/critical-hint-2.c
index effe24a63eceb37175634fdbcec00f54c0bf9d01..057353b6ce280ce91a4bdd5108655f59a20e9e49 100644 (file)
@@ -1,3 +1,4 @@
+/* { dg-do compile } */
 /* { dg-additional-options "-fdump-tree-original" } */
 #include <omp.h>
 
similarity index 99%
rename from gcc/testsuite/gfortran.dg/gomp/critical-hint-1.f90
rename to libgomp/testsuite/libgomp.fortran/critical-hint-1.f90
index c26b617f1bd3538a762a4c97d055eea3aa772efd..225d9a7a221aac23e7eafc6016bc10ca959c68e8 100644 (file)
@@ -1,3 +1,5 @@
+! { dg-do compile }
+
 subroutine example_criticial ()
   use omp_lib
   implicit none
similarity index 99%
rename from gcc/testsuite/gfortran.dg/gomp/critical-hint-2.f90
rename to libgomp/testsuite/libgomp.fortran/critical-hint-2.f90
index 15d6206a438d077b22aaccc896487b9e944d77fd..f34680ca718ebf3ef60c1d9b45e642de6e363463 100644 (file)
@@ -1,3 +1,4 @@
+! { dg-do compile }
 ! { dg-additional-options "-fdump-tree-original" }
 subroutine example_criticial ()
   use omp_lib