From patchwork Tue Aug 28 19:36:33 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vladimir Makarov X-Patchwork-Id: 180538 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]) by ozlabs.org (Postfix) with SMTP id EADE42C00F6 for ; Wed, 29 Aug 2012 05:41:14 +1000 (EST) Comment: DKIM? See http://www.dkim.org DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=gcc.gnu.org; s=default; x=1346787676; h=Comment: DomainKey-Signature:Received:Received:Received:Received:Received: Message-ID:Date:From:User-Agent:MIME-Version:To:Subject: Content-Type:Mailing-List:Precedence:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:Sender:Delivered-To; bh=Vb8c+is bXE88wE6AR1dVeMtRKEc=; b=iMBvwC+bRQ+eov3YgOQmxczudo1xuD14PFUtzP1 xCYDtD031EyUNL30VqzNHEPUQDwdeBbMVPZR1M1zYuetjFwbiQfLhMv+rc+Gptwq Itn0u6zavJyg0RUDNYruNtXMECHcDPFf2VLab5JMenLOSP2bavKu9rqkA+JGjkpI xDxg= Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=gcc.gnu.org; h=Received:Received:X-SWARE-Spam-Status:X-Spam-Check-By:Received:Received:Received:Message-ID:Date:From:User-Agent:MIME-Version:To:Subject:Content-Type:X-IsSubscribed:Mailing-List:Precedence:List-Id:List-Unsubscribe:List-Archive:List-Post:List-Help:Sender:Delivered-To; b=yPIDS+pjfrFpS/MKLrAG3Ct/9nlaUjf8k6+oCl+wIMgdTrklgzZxlEanzefvIU iTqV/jbOkbc8LgT6Srzf4echu7TOggfuFeIa+7X9eMFmglYN/lgcT+6QQCXNerSV lNR7XyTShRw2JJgkVKW1Yp3l9CmKgWHX5I6gcun2BV96Y=; Received: (qmail 16972 invoked by alias); 28 Aug 2012 19:41:10 -0000 Received: (qmail 16962 invoked by uid 22791); 28 Aug 2012 19:41:09 -0000 X-SWARE-Spam-Status: No, hits=-6.1 required=5.0 tests=AWL, BAYES_00, KHOP_RCVD_UNTRUST, MAY_BE_FORGED, RCVD_IN_DNSWL_HI, RCVD_IN_HOSTKARMA_W, RP_MATCHES_RCVD, SPF_HELO_PASS X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 28 Aug 2012 19:40:55 +0000 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q7SJetWe024616 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Tue, 28 Aug 2012 15:40:55 -0400 Received: from toll.usersys.redhat.com (unused [10.15.16.165] (may be forged)) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id q7SJes3Q020347 for ; Tue, 28 Aug 2012 15:40:55 -0400 Message-ID: <503D1DC1.4070309@redhat.com> Date: Tue, 28 Aug 2012 15:36:33 -0400 From: Vladimir Makarov User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20120717 Thunderbird/14.0 MIME-Version: 1.0 To: gcc-patches Subject: [lra] patch to fix PARISC bootstrap X-IsSubscribed: yes 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 Since last merge PARISC bootstrap fails. The following patch fixes it. The patch was successfully bootstrapped on x86/x86-64 and PARISC. Committed as rev. 190759. 2012-08-28 Vladimir Makarov * lra-constraints.c (extract_loc_address_regs): Check on a simple plus when index reg class is the same as base class. Index: lra-constraints.c =================================================================== --- lra-constraints.c (revision 190628) +++ lra-constraints.c (working copy) @@ -490,7 +490,8 @@ extract_loc_address_regs (bool top_p, en assume here, as well as in the tests below, that all addresses are in canonical form. */ else if (INDEX_REG_CLASS - == base_reg_class (VOIDmode, as, PLUS, SCRATCH)) + == base_reg_class (VOIDmode, as, PLUS, SCRATCH) + && code0 != PLUS && code0 != MULT) { extract_loc_address_regs (false, mode, as, arg0_loc, false, PLUS, code1, modify_p, ad);