diff options
author | Thomas Schwinge <thomas@codesourcery.com> | 2023-06-02 23:11:00 +0200 |
---|---|---|
committer | Thomas Schwinge <thomas@codesourcery.com> | 2023-06-14 11:41:45 +0200 |
commit | e76af2162c7b768ef0a913d485c51a80b08a1020 (patch) | |
tree | 008f98a2e52cb30f77152b0db22ded2988870874 /libgomp/testsuite/libgomp.fortran | |
parent | 9c03391ba447ff86038d6a34c90ae737c3915b5f (diff) | |
download | gcc-e76af2162c7b768ef0a913d485c51a80b08a1020.zip gcc-e76af2162c7b768ef0a913d485c51a80b08a1020.tar.gz gcc-e76af2162c7b768ef0a913d485c51a80b08a1020.tar.bz2 |
Add 'libgomp.{,oacc-}fortran/fortran-torture_execute_math.f90'
..., via 'include'ing the existing 'gfortran.fortran-torture/execute/math.f90',
which therefore is enhanced for optional OpenACC 'serial', OpenMP 'target'
usage.
gcc/testsuite/
* gfortran.fortran-torture/execute/math.f90: Enhance for optional
OpenACC 'serial', OpenMP 'target' usage.
libgomp/
* testsuite/libgomp.fortran/fortran-torture_execute_math.f90: New.
* testsuite/libgomp.oacc-fortran/fortran-torture_execute_math.f90:
Likewise.
Diffstat (limited to 'libgomp/testsuite/libgomp.fortran')
-rw-r--r-- | libgomp/testsuite/libgomp.fortran/fortran-torture_execute_math.f90 | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libgomp/testsuite/libgomp.fortran/fortran-torture_execute_math.f90 b/libgomp/testsuite/libgomp.fortran/fortran-torture_execute_math.f90 new file mode 100644 index 0000000..3348a0b --- /dev/null +++ b/libgomp/testsuite/libgomp.fortran/fortran-torture_execute_math.f90 @@ -0,0 +1,4 @@ +! { dg-do run } +! { dg-additional-options -foffload-options=-lm } + +include '../../../gcc/testsuite/gfortran.fortran-torture/execute/math.f90' |