From patchwork Fri Feb 20 14:43:30 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jakub Jelinek X-Patchwork-Id: 441993 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 785A614018C for ; Sat, 21 Feb 2015 01:43:51 +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:date :from:to:cc:subject:message-id:reply-to:mime-version :content-type; q=dns; s=default; b=EHEF8z4A0cxURuoIBW5P4tTHjgeYA 9KlWy3SiydXgstizKNu91TM7at/4rcvvUSt3xIX1zTT3b0iqQQ+tsxTxKeB1++hH eOpxFRRJdFstodmT9ovZi6TwnV6tXyrfiRLH3+aatybYimxgdQfd+kvvIWsaIN8H fX+Fi0TjufdEAw= 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:cc:subject:message-id:reply-to:mime-version :content-type; s=default; bh=TGgWfrD7utKKR6Hra/jV2hXqe6Y=; b=Ecm PyG8ZTeYg8bhUvUnzcIL06LbqEhgFrQcZdk/y8905ao1Bn8YP/mJnReVHWh3fIrp OMom/TvMQvRKvQPI/EW5x0ZjjOO567XzwBKO2sSFWBe2H9xxsqEYem76AgdTpfLg 8BdOT4z3Hpbn8aphykGOqMOLu6igmbxmoRqJ8Rug= Received: (qmail 29894 invoked by alias); 20 Feb 2015 14:43:44 -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 29884 invoked by uid 89); 20 Feb 2015 14:43:43 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.5 required=5.0 tests=AWL, BAYES_00, RP_MATCHES_RCVD, SPF_HELO_PASS, SPF_PASS autolearn=ham version=3.3.2 X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Fri, 20 Feb 2015 14:43:42 +0000 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id t1KEhaBL012758 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 20 Feb 2015 09:43:36 -0500 Received: from tucnak.zalov.cz (ovpn-116-28.ams2.redhat.com [10.36.116.28]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id t1KEhXL1032479 (version=TLSv1/SSLv3 cipher=AES128-GCM-SHA256 bits=128 verify=NO); Fri, 20 Feb 2015 09:43:35 -0500 Received: from tucnak.zalov.cz (localhost [127.0.0.1]) by tucnak.zalov.cz (8.14.9/8.14.9) with ESMTP id t1KEhWoc010106; Fri, 20 Feb 2015 15:43:32 +0100 Received: (from jakub@localhost) by tucnak.zalov.cz (8.14.9/8.14.9/Submit) id t1KEhUP1010105; Fri, 20 Feb 2015 15:43:30 +0100 Date: Fri, 20 Feb 2015 15:43:30 +0100 From: Jakub Jelinek To: Rainer Orth , Mike Stump Cc: gcc-patches@gcc.gnu.org Subject: [PATCH] Fix up pr44194-1.c testcase (PR testsuite/64158) Message-ID: <20150220144330.GB1746@tucnak.redhat.com> Reply-To: Jakub Jelinek MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.23 (2014-03-12) X-IsSubscribed: yes Hi! As written in the PR, this testcase is supposed to be blacklisted on (lp64) powerpc*-*-linux* unless powerpc_elfv2 and also on nvptx, but apparently neither of those blacklistings really work. tcl or dejagnu or the target expression parser are unhappy about the missing {}s, it doesn't like cond1 && cond2 && cond3 but wants { { cond1 && cond2 } && cond3 } instead (fixes the powerpc* blacklisting) and was missing another pair of {}s around the whole thing (that should fix nvptx). Regtested on x86_64-linux and i686-linux, additionally tested with replacing the various targets in the expression with x86_64-*-* instead and checking the test became UNSUPPORTED as it should. Ok for trunk? 2015-02-20 Jakub Jelinek PR testsuite/64158 * gcc.dg/pr44194-1.c: Add two extra {} pairs to fix up powerpc*-*-linux* and nvptx-*-* blacklisting. Jakub --- gcc/testsuite/gcc.dg/pr44194-1.c.jj 2014-11-11 00:06:05.000000000 +0100 +++ gcc/testsuite/gcc.dg/pr44194-1.c 2015-02-20 12:45:55.419301827 +0100 @@ -1,4 +1,4 @@ -/* { dg-do compile { target { { { { { { { { i?86-*-* x86_64-*-* } && x32 } || lp64 } && { ! s390*-*-* } } && { ! hppa*64*-*-* } } && { ! alpha*-*-* } } && { { ! powerpc*-*-linux* } || powerpc_elfv2 } && { ! nvptx-*-* } } } } } */ +/* { dg-do compile { target { { { { { { { { { { i?86-*-* x86_64-*-* } && x32 } || lp64 } && { ! s390*-*-* } } && { ! hppa*64*-*-* } } && { ! alpha*-*-* } } && { { ! powerpc*-*-linux* } || powerpc_elfv2 } } && { ! nvptx-*-* } } } } } } */ /* { dg-options "-O2 -fdump-rtl-dse1 -fdump-rtl-final" } */ /* Restrict to 64-bit targets since 32-bit targets usually return small