diff options
author | Tobias Burnus <tobias@codesourcery.com> | 2019-11-29 12:18:50 +0000 |
---|---|---|
committer | Tobias Burnus <tobias@codesourcery.com> | 2019-11-29 12:18:50 +0000 |
commit | 8d3da503f8a0f6c1845e7421b209206eacfcee04 (patch) | |
tree | f6b7b7f1534fc6809a715f1a9264189a33d633e1 | |
parent | 750b7b378fa464895b8b2b80902a20dced126019 (diff) |
Fix testcase - was missing -fopenacc
PR ipa/84963
* gfortran.dg/goacc/pr84963.f90: Use dg-additional-options not
dg-options as otherwise -fopenacc is not used.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@278836 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r-- | gcc/testsuite/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/testsuite/gfortran.dg/goacc/pr84963.f90 | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index a38389451c6..dc212cecb6c 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2019-11-13 Tobias Burnus <tobias@codesourcery.com> + + PR ipa/84963 + * gfortran.dg/goacc/pr84963.f90: Use dg-additional-options not + dg-options as otherwise -fopenacc is not used. + 2019-11-29 Tamar Christina <tamar.christina@arm.com> * gcc.dg/vect/slp-reduc-3.c: Turn off epilogue-nomask. diff --git a/gcc/testsuite/gfortran.dg/goacc/pr84963.f90 b/gcc/testsuite/gfortran.dg/goacc/pr84963.f90 index 4548082bee3..481f20711f5 100644 --- a/gcc/testsuite/gfortran.dg/goacc/pr84963.f90 +++ b/gcc/testsuite/gfortran.dg/goacc/pr84963.f90 @@ -1,5 +1,5 @@ ! PR ipa/84963 -! { dg-options "-O2" } +! { dg-additional-options "-O2" } program p print *, sin([1.0, 2.0]) |