From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 42649 invoked by alias); 23 Jan 2017 17:01:39 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 42618 invoked by uid 89); 23 Jan 2017 17:01:38 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-4.1 required=5.0 tests=BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RP_MATCHES_RCVD,SPF_HELO_PASS autolearn=ham version=3.3.2 spammy=U*kelvin, sk:kelvin@, PR66669, 66669 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; Mon, 23 Jan 2017 17:01:28 +0000 Received: from int-mx13.intmail.prod.int.phx2.redhat.com (int-mx13.intmail.prod.int.phx2.redhat.com [10.5.11.26]) (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 5D7DEC04B959; Mon, 23 Jan 2017 17:01:28 +0000 (UTC) Received: from localhost.localdomain (ovpn-119-37.rdu2.redhat.com [10.10.119.37]) by int-mx13.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id v0NH1RmC009149; Mon, 23 Jan 2017 12:01:27 -0500 Subject: Re: [PATCH] PR66669: Fix failure of gcc.dg/loop-8.c on Power To: Kelvin Nilsen , gcc-patches@gcc.gnu.org References: <57db91bc-c64f-d001-17e2-6d54c91611b7@linux.vnet.ibm.com> From: Jeff Law Message-ID: <45dbbbe5-943b-efba-fefa-0e39fcab8da5@redhat.com> Date: Mon, 23 Jan 2017 17:08:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 MIME-Version: 1.0 In-Reply-To: <57db91bc-c64f-d001-17e2-6d54c91611b7@linux.vnet.ibm.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2017-01/txt/msg01790.txt.bz2 On 01/23/2017 09:59 AM, Kelvin Nilsen wrote: > > The test gcc.dg/loop-8.c makes assumptions that are not valid on Power > architecture (and on certain other architectures for which this issue > has already been addressed). The test case assumes that a single > loop-invariant statement will be moved outside the loop. On Power, a > constant is copy-propagated within the loop, and the subsequent > loop-invariant code motion moves two loop-invariant statements out of > the loop. > > This patch simply disables this test case on Power architecture. > > > gcc/testsuite/ChangeLog: > > 2017-01-23 Kelvin Nilsen > > PR target/66669 > * gcc.dg/loop-8.c: Modify dg-skip-if directive to exclude this > test on powerpc targets. OK. jeff