From patchwork Fri Nov 17 14:26:20 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Segher Boessenkool X-Patchwork-Id: 839020 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=gcc.gnu.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=gcc-patches-return-467141-incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b="CmUmMxbu"; dkim-atps=neutral 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 3ydgR101d3z9ryr for ; Sat, 18 Nov 2017 01:26:35 +1100 (AEDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:from :to:cc:subject:date:message-id; q=dns; s=default; b=NpyvGI7UHQiY 3t6gcwfjd5IzbPNrRSOXGb8Fx91JedsohASi89pNLQJmfSP2A4Afry0F9nt6a0+4 c/Fr7zXs7I5iNfEjcxy5FBETQssuFrMzWKXFECBQ0SmBJKVDLK0aInECzm/Y3Usi CXokZOYDDmVbM2oJa9q/I53K1Az/AAY= 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:from :to:cc:subject:date:message-id; s=default; bh=Btyms+3FJ7nNVFyUwA rrqi1fTcY=; b=CmUmMxbuP5gM47m6KlCJWK1+Xe2vOyDkgJm88ukqhw3uywo6Xi 8zkwZJvOaBlGwbSzJIEV6pQN/6qYMG5lw8Nv8sf1U/LiaVvqpuFYCWKP9CQvYeCf wzB5RLEQJP3TfJx15phVReFzGsrAYKAR3bQnDBxn8So/50iKiUQjU5hfs= Received: (qmail 6187 invoked by alias); 17 Nov 2017 14:26:26 -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 6174 invoked by uid 89); 17 Nov 2017 14:26:26 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-24.0 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, KAM_LAZY_DOMAIN_SECURITY, KB_WAM_FROM_NAME_SINGLEWORD, RP_MATCHES_RCVD autolearn=ham version=3.3.2 spammy=__pixel, defn, __bool, UD:altivec-macros.c X-HELO: gcc1-power7.osuosl.org Received: from gcc1-power7.osuosl.org (HELO gcc1-power7.osuosl.org) (140.211.15.137) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 17 Nov 2017 14:26:24 +0000 Received: by gcc1-power7.osuosl.org (Postfix, from userid 10019) id 3FD9012402A1; Fri, 17 Nov 2017 14:26:23 +0000 (UTC) From: Segher Boessenkool To: gcc-patches@gcc.gnu.org Cc: dje.gcc@gmail.com, Segher Boessenkool Subject: [PATCH] rs6000: Fix for altivec-macros.c Date: Fri, 17 Nov 2017 14:26:20 +0000 Message-Id: X-IsSubscribed: yes This fixes the altivec-macros.c testcase; we now need to explicitly say "no column number" for messages without one. Tested on powerpc64-linux {-m32,-m64}; committing to trunk. Segher 2017-11-17 Segher Boessenkool gcc/testsuite/ * gcc.target/powerpc/altivec-macros.c: Include "-:" in the messages matched for. --- gcc/testsuite/gcc.target/powerpc/altivec-macros.c | 24 +++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/gcc/testsuite/gcc.target/powerpc/altivec-macros.c b/gcc/testsuite/gcc.target/powerpc/altivec-macros.c index 91bf120..e5a0930 100644 --- a/gcc/testsuite/gcc.target/powerpc/altivec-macros.c +++ b/gcc/testsuite/gcc.target/powerpc/altivec-macros.c @@ -23,45 +23,45 @@ _Pragma ("__vector") #undef __vector #define __vector __new_vector -/* { dg-message "location of the previous" "prev __vector defn" { target *-*-* } .-1 } */ +/* { dg-message "-:location of the previous" "prev __vector defn" { target *-*-* } .-1 } */ #undef __pixel #define __pixel __new_pixel -/* { dg-message "location of the previous" "prev __pixel defn" { target *-*-* } .-1 } */ +/* { dg-message "-:location of the previous" "prev __pixel defn" { target *-*-* } .-1 } */ #undef __bool #define __bool __new_bool -/* { dg-message "location of the previous" "prev __bool defn" { target *-*-* } .-1 } */ +/* { dg-message "-:location of the previous" "prev __bool defn" { target *-*-* } .-1 } */ #undef vector #define vector new_vector -/* { dg-message "location of the previous" "prev vector defn" { target *-*-* } .-1 } */ +/* { dg-message "-:location of the previous" "prev vector defn" { target *-*-* } .-1 } */ #undef pixel #define pixel new_pixel -/* { dg-message "location of the previous" "prev pixel defn" { target *-*-* } .-1 } */ +/* { dg-message "-:location of the previous" "prev pixel defn" { target *-*-* } .-1 } */ #undef bool #define bool new_bool -/* { dg-message "location of the previous" "prev bool defn" { target *-*-* } .-1 } */ +/* { dg-message "-:location of the previous" "prev bool defn" { target *-*-* } .-1 } */ /* Re-definition of "unconditional" macros. */ /* Warnings should be generated as usual. */ #define __vector __newer_vector -/* { dg-warning "redefined" "__vector redefined" { target *-*-* } .-1 } */ +/* { dg-warning "-:redefined" "__vector redefined" { target *-*-* } .-1 } */ #define __pixel __newer_pixel -/* { dg-warning "redefined" "__pixel redefined" { target *-*-* } .-1 } */ +/* { dg-warning "-:redefined" "__pixel redefined" { target *-*-* } .-1 } */ #define __bool __newer_bool -/* { dg-warning "redefined" "__bool redefined" { target *-*-* } .-1 } */ +/* { dg-warning "-:redefined" "__bool redefined" { target *-*-* } .-1 } */ #define vector newer_vector -/* { dg-warning "redefined" "vector redefined" { target *-*-* } .-1 } */ +/* { dg-warning "-:redefined" "vector redefined" { target *-*-* } .-1 } */ #define pixel newer_pixel -/* { dg-warning "redefined" "pixel redefined" { target *-*-* } .-1 } */ +/* { dg-warning "-:redefined" "pixel redefined" { target *-*-* } .-1 } */ #define bool newer_bool -/* { dg-warning "redefined" "bool redefined" { target *-*-* } .-1 } */ +/* { dg-warning "-:redefined" "bool redefined" { target *-*-* } .-1 } */