From patchwork Thu Nov 17 23:57:48 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jeff Law X-Patchwork-Id: 696357 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 3tKdNn16Mjz9snk for ; Fri, 18 Nov 2016 10:58:00 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b="hfAKnVVy"; 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:to :from:subject:message-id:date:mime-version:content-type; q=dns; s=default; b=aYC/oTCA7JhN0TTRSNSd4lvf2JmW2CzuCteefOKEzkVPBGuBdB ISugb94QXEu6hNbQRqrC7wh7m5Pu0TfU8zxdWrBQKQ/laDVitFZBj7Z0Ka7q75cd 65mKnKvRs9Wt3U9lFXaotzZLaV6LotqL3TpdQQ3/hovkCU8Jj78qSiu88= 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:to :from:subject:message-id:date:mime-version:content-type; s= default; bh=34tNmC7PkvTYrRWHopUUfnvtvVE=; b=hfAKnVVyX98Ucfdg9NGA 9hV0u72WdYFt8jGSaqPyRlcrHyB7BnUtdvC7dkRU5+065y1QhpBfdNxXtnv7DJM0 0fAFrCEn1a1b3ydlmMjq1wm79HOgBqyyDrl2aZCXY+XecXr0WVATBEEgC2stOR8P R/lKh22jhci1Rf5iVrd+WV8= Received: (qmail 6428 invoked by alias); 17 Nov 2016 23:57:52 -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 6418 invoked by uid 89); 17 Nov 2016 23:57:51 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-3.8 required=5.0 tests=BAYES_00, KAM_LAZY_DOMAIN_SECURITY, RP_MATCHES_RCVD, SPF_HELO_PASS autolearn=ham version=3.3.2 spammy= 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 ESMTP; Thu, 17 Nov 2016 23:57:50 +0000 Received: from int-mx14.intmail.prod.int.phx2.redhat.com (int-mx14.intmail.prod.int.phx2.redhat.com [10.5.11.27]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 526506364C for ; Thu, 17 Nov 2016 23:57:49 +0000 (UTC) Received: from localhost.localdomain (ovpn-116-64.phx2.redhat.com [10.3.116.64]) by int-mx14.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id uAHNvnu7021709 for ; Thu, 17 Nov 2016 18:57:49 -0500 To: gcc-patches From: Jeff Law Subject: [PR middle-end/38219] Don't test vrp47.c on m68k Message-ID: Date: Thu, 17 Nov 2016 16:57:48 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 X-IsSubscribed: yes AFAICT the m68k was the last target needing twiddling to avoid unexpected failures on vrp47.c (from reading comments in the bz). The m68k (like others already mentioned) breaks the conditionals down rather than combining them into a logical with single compare/test. Fixed in the obvious way and installed on the trunk. Jeff commit 1d9211ddf7fcede312120eba696ef143d4f00015 Author: law Date: Thu Nov 17 23:54:46 2016 +0000 PR middle-end/38219 * gcc.dg/tree-ssa/vrp47.c: Do not run on m68k. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@242576 138bc75d-0d04-0410-961f-82ee72b054a4 diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 5dd6f56..c039eca 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,5 +1,8 @@ 2016-11-17 Jeff Law + PR middle-end/38219 + * gcc.dg/tree-ssa/vrp47.c: Do not run on m68k. + PR target/47192 * gcc.target/m68k/pr47192.c: New test. diff --git a/gcc/testsuite/gcc.dg/tree-ssa/vrp47.c b/gcc/testsuite/gcc.dg/tree-ssa/vrp47.c index beca5fa..28a8808 100644 --- a/gcc/testsuite/gcc.dg/tree-ssa/vrp47.c +++ b/gcc/testsuite/gcc.dg/tree-ssa/vrp47.c @@ -3,7 +3,7 @@ /* Skip on S/390. Lower values in BRANCH_COST lead to two conditional jumps when evaluating an && condition. VRP is not able to optimize this. */ -/* { dg-do compile { target { ! { logical_op_short_circuit || { s390*-*-* mn10300-*-* hppa*-*-* } } } } } */ +/* { dg-do compile { target { ! { logical_op_short_circuit || { s390*-*-* mn10300-*-* hppa*-*-* m68k*-*-* } } } } } */ /* { dg-options "-O2 -fdump-tree-vrp1 -fdump-tree-dom2 -fdump-tree-vrp2" } */ /* { dg-additional-options "-march=i586" { target { { i?86-*-* x86_64-*-* } && ia32 } } } */