diff options
author | Thomas Schwinge <thomas@codesourcery.com> | 2019-02-22 11:50:02 +0100 |
---|---|---|
committer | Thomas Schwinge <tschwinge@gcc.gnu.org> | 2019-02-22 11:50:02 +0100 |
commit | 568de94944eae2abfa0cdf78bbf8247239f2462d (patch) | |
tree | e27d5e30c6c7fc760a8cb9e900d2d9bce8ae59ec | |
parent | 2263c9f24f5d46d6033e8a0804bcfca991f85f49 (diff) | |
download | gcc-568de94944eae2abfa0cdf78bbf8247239f2462d.zip gcc-568de94944eae2abfa0cdf78bbf8247239f2462d.tar.gz gcc-568de94944eae2abfa0cdf78bbf8247239f2462d.tar.bz2 |
Silence '-Whsa' diagnostic in 'gfortran.dg/goacc/pr78027.f90'
... which has been present (with HSA offloading configured) ever since this
test case got added.
gcc/testsuite/
PR fortran/78027
* gfortran.dg/goacc/pr78027.f90: Add 'dg-additional-options "-Wno-hsa"'.
From-SVN: r269103
-rw-r--r-- | gcc/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/testsuite/gfortran.dg/goacc/pr78027.f90 | 4 |
2 files changed, 9 insertions, 0 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 7cb6b24..b98cd35 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2019-02-22 Thomas Schwinge <thomas@codesourcery.com> + + PR fortran/78027 + * gfortran.dg/goacc/pr78027.f90: Add 'dg-additional-options "-Wno-hsa"'. + 2019-02-22 Richard Biener <rguenther@suse.de> PR middle-end/87609 diff --git a/gcc/testsuite/gfortran.dg/goacc/pr78027.f90 b/gcc/testsuite/gfortran.dg/goacc/pr78027.f90 index db65063..a1e51fa 100644 --- a/gcc/testsuite/gfortran.dg/goacc/pr78027.f90 +++ b/gcc/testsuite/gfortran.dg/goacc/pr78027.f90 @@ -1,5 +1,9 @@ ! { dg-additional-options "-fopenmp -O2 -fdump-ipa-icf" } +! f951: warning: could not emit HSAIL for the function [-Whsa] +! f951: note: HSA does not support functions with variadic arguments (or unknown return type): 'GOACC_parallel_keyed' +! { dg-additional-options "-Wno-hsa" } + real function f() !$omp declare target(f) f = 1. |