aboutsummaryrefslogtreecommitdiff
path: root/libgomp
diff options
context:
space:
mode:
authorTobias Burnus <burnus@gcc.gnu.org>2019-12-11 11:40:11 +0100
committerTobias Burnus <burnus@gcc.gnu.org>2019-12-11 11:40:11 +0100
commita0221aeebd5bbe9ba097490b4b916495f2fe163e (patch)
tree4b6b8acea696ace81647b808f075cd9ef5dce522 /libgomp
parentd5ffd47e9a739770aa7ef5ad06c07fe9f16a3260 (diff)
downloadgcc-a0221aeebd5bbe9ba097490b4b916495f2fe163e.zip
gcc-a0221aeebd5bbe9ba097490b4b916495f2fe163e.tar.gz
gcc-a0221aeebd5bbe9ba097490b4b916495f2fe163e.tar.bz2
[OpenMP/OpenACC/Fortran] Fix mapping of optional (present|absent) arguments
* testsuite/libgomp.oacc-fortran/optional-cache.f95: Add 'dg-do run'. * testsuite/libgomp.oacc-fortran/optional-reduction.f90: Remove unnecessary 'dg-additional-options "-w"'. From-SVN: r279217
Diffstat (limited to 'libgomp')
-rw-r--r--libgomp/ChangeLog8
-rw-r--r--libgomp/testsuite/libgomp.oacc-fortran/optional-cache.f951
-rw-r--r--libgomp/testsuite/libgomp.oacc-fortran/optional-reduction.f901
3 files changed, 8 insertions, 2 deletions
diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog
index 8322703..1415408 100644
--- a/libgomp/ChangeLog
+++ b/libgomp/ChangeLog
@@ -1,3 +1,9 @@
+2019-12-11 Tobias Burnus <tobias@codesourcery.com>
+
+ * testsuite/libgomp.oacc-fortran/optional-cache.f95: Add 'dg-do run'.
+ * testsuite/libgomp.oacc-fortran/optional-reduction.f90: Remove
+ unnecessary 'dg-additional-options "-w"'.
+
2019-12-09 Thomas Schwinge <thomas@codesourcery.com>
Julian Brown <julian@codesourcery.com>
@@ -11109,7 +11115,7 @@
PR libgomp/30546
* configure.ac: Add check for makeinfo
* Makefile.am: Redefined target libgomp.info, build libgomp.info only
- if an appropiate version of makeinfo is found.
+ if an appropriate version of makeinfo is found.
* aclocal.m4: Regenerated.
* configure: Regenerated.
* Makefile.in: Regenerated.
diff --git a/libgomp/testsuite/libgomp.oacc-fortran/optional-cache.f95 b/libgomp/testsuite/libgomp.oacc-fortran/optional-cache.f95
index 00f7472..0d48e2b 100644
--- a/libgomp/testsuite/libgomp.oacc-fortran/optional-cache.f95
+++ b/libgomp/testsuite/libgomp.oacc-fortran/optional-cache.f95
@@ -1,3 +1,4 @@
+! { dg-do run }
! Test that the cache directives work with optional arguments. The effect
! of giving a non-present argument to the cache directive is not tested as
! it is undefined. The test is based on gfortran.dg/goacc/cache-1.f95.
diff --git a/libgomp/testsuite/libgomp.oacc-fortran/optional-reduction.f90 b/libgomp/testsuite/libgomp.oacc-fortran/optional-reduction.f90
index b76db3e..29f92c0 100644
--- a/libgomp/testsuite/libgomp.oacc-fortran/optional-reduction.f90
+++ b/libgomp/testsuite/libgomp.oacc-fortran/optional-reduction.f90
@@ -3,7 +3,6 @@
! for. The tests are based on those in reduction-1.f90.
! { dg-do run }
-! { dg-additional-options "-w" }
program optional_reduction
implicit none