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]

@@ -1,3 +1,4 @@
+! { dg-do compile }
 ! { dg-additional-options "-fdump-tree-original" }
 subroutine example_criticial ()
   use omp_lib