From patchwork Tue Mar 1 18:40:00 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Jambor X-Patchwork-Id: 590696 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 7CF3A140134 for ; Wed, 2 Mar 2016 05:40:37 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b=ZyLirsR5; dkim-atps=neutral DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:date :from:to:subject:message-id:references:mime-version:content-type :in-reply-to; q=dns; s=default; b=AUBCZWHLMOeLe9VijwYIoNnMjS36r7 G4Hnjh5MtPKuF6qjE5yk/eUTnp/7haTGMbZbHWHKmcX7GjExutdnkg1tVrzUGM1k UgFG4sT37knCRX18w8AO8HeMZ4tW0PyS29DIftd2U2NqTQ2a2LK1mKmjkcxyRpQa 9vjbassbEDFVU= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:date :from:to:subject:message-id:references:mime-version:content-type :in-reply-to; s=default; bh=Q0RgNR2ehEmldFt7JxClEKhHDJ8=; b=ZyLi rsR5Jzb9VBhLz3x9vNSMQM2bMZq3vukS4ptQIMSTFbj/gNunBqV1NFPEmJ36fcxI mPx3B1sqiOsRy5pPWKuULAU/TUxEWiXkDnEZ7Fr95dSIXUm/P6AXPhjULqlRJTMr q3zvU6TjHPo3cw9ZpU6cSVuZ8cbg1v7BfWDki1Y= Received: (qmail 22639 invoked by alias); 1 Mar 2016 18:40:19 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Received: (qmail 22400 invoked by uid 89); 1 Mar 2016 18:40:09 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE, SPF_PASS autolearn=ham version=3.3.2 spammy=29, 7, Hx-languages-length:2201, 30, 7 X-HELO: mx2.suse.de Received: from mx2.suse.de (HELO mx2.suse.de) (195.135.220.15) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (CAMELLIA256-SHA encrypted) ESMTPS; Tue, 01 Mar 2016 18:40:03 +0000 Received: from relay1.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 7F84BAD04 for ; Tue, 1 Mar 2016 18:40:00 +0000 (UTC) Date: Tue, 1 Mar 2016 19:40:00 +0100 From: Martin Jambor To: GCC Patches Subject: Re: [hsa, testsuite] Suppress hsa warnings in compiler gomp tests Message-ID: <20160301184000.GB2148@virgil.suse.cz> Mail-Followup-To: GCC Patches References: <20160226155919.GH3094@virgil.suse.cz> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20160226155919.GH3094@virgil.suse.cz> User-Agent: Mutt/1.5.24 (2015-08-30) X-IsSubscribed: yes Hi, as Jakub requested in another thread, this patch deals with HSA "excess errors" in the gomp compiler testsuite by passing -Wno-hsa to all of them. IIUC, that passing it in the second parameter of *-dg-runtest (as opposed to the third) means that it will apply even tests that have their own dg-options, which is presumably easier for everyone, provided that hsa will get is own libgomp testsuite directories. OK for trunk? Thanks, Martin 2016-02-29 Martin Jambor * g++.dg/gomp/gomp.exp: Pass -Wno-hsa to all tests. * gcc.dg/gomp/gomp.exp: Likewise. * gfortran.dg/gomp/gomp.exp: Likewise. --- gcc/testsuite/g++.dg/gomp/gomp.exp | 2 +- gcc/testsuite/gcc.dg/gomp/gomp.exp | 2 +- gcc/testsuite/gfortran.dg/gomp/gomp.exp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/gcc/testsuite/g++.dg/gomp/gomp.exp b/gcc/testsuite/g++.dg/gomp/gomp.exp index 7365389..bee5441 100644 --- a/gcc/testsuite/g++.dg/gomp/gomp.exp +++ b/gcc/testsuite/g++.dg/gomp/gomp.exp @@ -29,7 +29,7 @@ dg-init # Main loop. g++-dg-runtest [lsort [concat \ [find $srcdir/$subdir *.C] \ - [find $srcdir/c-c++-common/gomp *.c]]] "" "-fopenmp" + [find $srcdir/c-c++-common/gomp *.c]]] "-Wno-hsa" "-fopenmp" # All done. dg-finish diff --git a/gcc/testsuite/gcc.dg/gomp/gomp.exp b/gcc/testsuite/gcc.dg/gomp/gomp.exp index 78623fc..d0889c5 100644 --- a/gcc/testsuite/gcc.dg/gomp/gomp.exp +++ b/gcc/testsuite/gcc.dg/gomp/gomp.exp @@ -31,7 +31,7 @@ dg-init # Main loop. dg-runtest [lsort [concat \ [find $srcdir/$subdir *.c] \ - [find $srcdir/c-c++-common/gomp *.c]]] "" "-fopenmp" + [find $srcdir/c-c++-common/gomp *.c]]] "-Wno-hsa" "-fopenmp" # All done. dg-finish diff --git a/gcc/testsuite/gfortran.dg/gomp/gomp.exp b/gcc/testsuite/gfortran.dg/gomp/gomp.exp index 625361b..78d70b5 100644 --- a/gcc/testsuite/gfortran.dg/gomp/gomp.exp +++ b/gcc/testsuite/gfortran.dg/gomp/gomp.exp @@ -30,7 +30,7 @@ dg-init # Main loop. gfortran-dg-runtest [lsort \ - [find $srcdir/$subdir *.\[fF\]{,90,95,03,08} ] ] "" "-fopenmp" + [find $srcdir/$subdir *.\[fF\]{,90,95,03,08} ] ] "-Wno-hsa" "-fopenmp" # All done. dg-finish