From 18279486b8bed2721156fbc3792efdccdc334f51 Mon Sep 17 00:00:00 2001 From: Tobias Burnus Date: Fri, 29 Nov 2019 12:18:50 +0000 Subject: [PATCH] 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. From-SVN: r278836 --- gcc/testsuite/ChangeLog | 6 ++++++ gcc/testsuite/gfortran.dg/goacc/pr84963.f90 | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) 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 + + 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 * 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]) -- 2.30.2