Commit a0221aee by Tobias Burnus

[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
parent d5ffd47e
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> 2019-12-09 Thomas Schwinge <thomas@codesourcery.com>
Julian Brown <julian@codesourcery.com> Julian Brown <julian@codesourcery.com>
...@@ -11109,7 +11115,7 @@ ...@@ -11109,7 +11115,7 @@
PR libgomp/30546 PR libgomp/30546
* configure.ac: Add check for makeinfo * configure.ac: Add check for makeinfo
* Makefile.am: Redefined target libgomp.info, build libgomp.info only * 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. * aclocal.m4: Regenerated.
* configure: Regenerated. * configure: Regenerated.
* Makefile.in: Regenerated. * Makefile.in: Regenerated.
......
! { dg-do run }
! Test that the cache directives work with optional arguments. The effect ! 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 ! 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. ! it is undefined. The test is based on gfortran.dg/goacc/cache-1.f95.
......
...@@ -3,7 +3,6 @@ ...@@ -3,7 +3,6 @@
! for. The tests are based on those in reduction-1.f90. ! for. The tests are based on those in reduction-1.f90.
! { dg-do run } ! { dg-do run }
! { dg-additional-options "-w" }
program optional_reduction program optional_reduction
implicit none implicit none
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment