From 568de94944eae2abfa0cdf78bbf8247239f2462d Mon Sep 17 00:00:00 2001 From: Thomas Schwinge Date: Fri, 22 Feb 2019 11:50:02 +0100 Subject: [PATCH] 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 --- gcc/testsuite/ChangeLog | 5 +++++ gcc/testsuite/gfortran.dg/goacc/pr78027.f90 | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 7cb6b240d0c..b98cd355645 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2019-02-22 Thomas Schwinge + + PR fortran/78027 + * gfortran.dg/goacc/pr78027.f90: Add 'dg-additional-options "-Wno-hsa"'. + 2019-02-22 Richard Biener PR middle-end/87609 diff --git a/gcc/testsuite/gfortran.dg/goacc/pr78027.f90 b/gcc/testsuite/gfortran.dg/goacc/pr78027.f90 index db65063bede..a1e51fa0f0d 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. -- 2.30.2