diff options
author | Tobias Burnus <tobias@codesourcery.com> | 2020-07-22 12:12:48 +0200 |
---|---|---|
committer | Tobias Burnus <tobias@codesourcery.com> | 2020-07-22 12:14:22 +0200 |
commit | ade6e7204ce4d179cd9fa4637ddee85ba1fa12d9 (patch) | |
tree | d0bfb66b2a8b9e3790e969c33c5f7c52a7f7884c | |
parent | cd91a084877dabcc53aec57ab70ca4fc32f3d985 (diff) | |
download | gcc-ade6e7204ce4d179cd9fa4637ddee85ba1fa12d9.zip gcc-ade6e7204ce4d179cd9fa4637ddee85ba1fa12d9.tar.gz gcc-ade6e7204ce4d179cd9fa4637ddee85ba1fa12d9.tar.bz2 |
critical-hint-*.{c,f90}: Move from gcc/testsuite to libgomp/testsuite
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/.
-rw-r--r-- | libgomp/testsuite/libgomp.c-c++-common/critical-hint-1.c (renamed from gcc/testsuite/c-c++-common/gomp/critical-hint-1.c) | 2 | ||||
-rw-r--r-- | libgomp/testsuite/libgomp.c-c++-common/critical-hint-2.c (renamed from gcc/testsuite/c-c++-common/gomp/critical-hint-2.c) | 1 | ||||
-rw-r--r-- | libgomp/testsuite/libgomp.fortran/critical-hint-1.f90 (renamed from gcc/testsuite/gfortran.dg/gomp/critical-hint-1.f90) | 2 | ||||
-rw-r--r-- | libgomp/testsuite/libgomp.fortran/critical-hint-2.f90 (renamed from gcc/testsuite/gfortran.dg/gomp/critical-hint-2.f90) | 1 |
4 files changed, 6 insertions, 0 deletions
diff --git a/gcc/testsuite/c-c++-common/gomp/critical-hint-1.c b/libgomp/testsuite/libgomp.c-c++-common/critical-hint-1.c index 510f8ab..1e49747 100644 --- a/gcc/testsuite/c-c++-common/gomp/critical-hint-1.c +++ b/libgomp/testsuite/libgomp.c-c++-common/critical-hint-1.c @@ -1,3 +1,5 @@ +/* { dg-do compile } */ + #include <omp.h> void diff --git a/gcc/testsuite/c-c++-common/gomp/critical-hint-2.c b/libgomp/testsuite/libgomp.c-c++-common/critical-hint-2.c index effe24a..057353b 100644 --- a/gcc/testsuite/c-c++-common/gomp/critical-hint-2.c +++ b/libgomp/testsuite/libgomp.c-c++-common/critical-hint-2.c @@ -1,3 +1,4 @@ +/* { dg-do compile } */ /* { dg-additional-options "-fdump-tree-original" } */ #include <omp.h> diff --git a/gcc/testsuite/gfortran.dg/gomp/critical-hint-1.f90 b/libgomp/testsuite/libgomp.fortran/critical-hint-1.f90 index c26b617..225d9a7 100644 --- a/gcc/testsuite/gfortran.dg/gomp/critical-hint-1.f90 +++ b/libgomp/testsuite/libgomp.fortran/critical-hint-1.f90 @@ -1,3 +1,5 @@ +! { dg-do compile } + subroutine example_criticial () use omp_lib implicit none diff --git a/gcc/testsuite/gfortran.dg/gomp/critical-hint-2.f90 b/libgomp/testsuite/libgomp.fortran/critical-hint-2.f90 index 15d6206..f34680c 100644 --- a/gcc/testsuite/gfortran.dg/gomp/critical-hint-2.f90 +++ b/libgomp/testsuite/libgomp.fortran/critical-hint-2.f90 @@ -1,3 +1,4 @@ +! { dg-do compile } ! { dg-additional-options "-fdump-tree-original" } subroutine example_criticial () use omp_lib |