From patchwork Mon Feb 29 16:22:36 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Jambor X-Patchwork-Id: 593069 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 663971401CA for ; Tue, 8 Mar 2016 04:34:53 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b=ZMyH03hz; 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 :resent-from:resent-date:resent-message-id:resent-to:message-id :in-reply-to:references:from:date:subject:to:cc; q=dns; s= default; b=e1/frBMYGsUovkQlZLG03yPWBfrtkZ7UesmR0UBgjvd31HMqlGR9A Pb8hg82HgZKlmv4ISLP9w95MkPqGlHgG14jYGh+0uDckF9uLNxD6NrrXKJl1Rvcv ZJY6EfMo7yBVd6URj8H7FRwt7gQc6UbshqnwnNLqPjUmUF030ndGpM= 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 :resent-from:resent-date:resent-message-id:resent-to:message-id :in-reply-to:references:from:date:subject:to:cc; s=default; bh=6 37pNyQGVuZA8k75kQMqKMZCVQ0=; b=ZMyH03hza1iDGgeS52leM0VOqNc9h+TZM sPDj5mLyVbtsdmXMeP0cNeB2oi6gx6rqC7ILyrtTaEXofmN3BSysJYr6aL5QSwXf bmHl/NB3Pn+nVnhqQEcFeUs5NAwSWqzJdHKryYPMaihTVyzwlAxgoXnFoVowemoT /XErnwh3fw= Received: (qmail 114030 invoked by alias); 7 Mar 2016 17:34:29 -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 113934 invoked by uid 89); 7 Mar 2016 17:34:29 -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= 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; Mon, 07 Mar 2016 17:34:26 +0000 Received: from relay2.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id AEE61ADEA for ; Mon, 7 Mar 2016 17:34:22 +0000 (UTC) Resent-From: Martin Jambor Resent-Date: Mon, 7 Mar 2016 18:34:22 +0100 Resent-Message-ID: <20160307173422.GD23597@virgil.suse.cz> Resent-To: GCC Patches Message-Id: In-Reply-To: References: From: Martin Jambor Date: Mon, 29 Feb 2016 17:22:36 +0100 Subject: [hsa testsuite 3/5] Suppress hsa warnings in libgomp tests To: GCC Patches CC: Jakub Jelinek X-IsSubscribed: yes Hi, just like with the compiler gomp testsuite, we need to add -Wno-hsa to options when compiling libgomp testcases in order not to have "excess errors" failures when HSA is enabled. There are quite many of such testcases on the trunk because I have disabled the dynamic parallelism way of executing stuff. The patch below adds the option to all libgomp testsuite compilations, so that people who are not interested in HSA do not need to care. The patch has been tested both with and without HSA enabled. OK for trunk? Thanks, Martin 2016-03-04 Martin Jambor * testsuite/lib/libgomp.exp (libgomp_init): Append -Wno-hsa to ALWAYS_CFLAGS. --- libgomp/testsuite/lib/libgomp.exp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libgomp/testsuite/lib/libgomp.exp b/libgomp/testsuite/lib/libgomp.exp index 154a447..bbc2c26 100644 --- a/libgomp/testsuite/lib/libgomp.exp +++ b/libgomp/testsuite/lib/libgomp.exp @@ -237,6 +237,9 @@ proc libgomp_init { args } { # Disable caret lappend ALWAYS_CFLAGS "additional_flags=-fno-diagnostics-show-caret" + # Disable HSA warnings by default. + lappend ALWAYS_CFLAGS "additional_flags=-Wno-hsa" + # Disable color diagnostics lappend ALWAYS_CFLAGS "additional_flags=-fdiagnostics-color=never"