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
This commit is contained in:
Thomas Schwinge 2019-02-22 11:50:02 +01:00 committed by Thomas Schwinge
parent 2263c9f24f
commit 568de94944
2 changed files with 9 additions and 0 deletions

View file

@ -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

View file

@ -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.