From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 73605 invoked by alias); 9 Jun 2015 20:25:50 -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 73596 invoked by uid 89); 9 Jun 2015 20:25:49 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.0 required=5.0 tests=AWL,BAYES_50,KAM_LAZY_DOMAIN_SECURITY,SPF_HELO_PASS,T_RP_MATCHES_RCVD autolearn=no 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; Tue, 09 Jun 2015 20:25:49 +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 (Postfix) with ESMTPS id DAF71B6E82; Tue, 9 Jun 2015 20:25:47 +0000 (UTC) Received: from tucnak.zalov.cz (ovpn-116-89.ams2.redhat.com [10.36.116.89]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id t59KPkvH002344 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Tue, 9 Jun 2015 16:25:47 -0400 Received: from tucnak.zalov.cz (localhost [127.0.0.1]) by tucnak.zalov.cz (8.14.9/8.14.9) with ESMTP id t59KPieq012171; Tue, 9 Jun 2015 22:25:45 +0200 Received: (from jakub@localhost) by tucnak.zalov.cz (8.14.9/8.14.9/Submit) id t59KPhTS012170; Tue, 9 Jun 2015 22:25:43 +0200 Date: Tue, 09 Jun 2015 20:59:00 -0000 From: Jakub Jelinek To: Alexandre Oliva Cc: Christophe Lyon , David Edelsohn , GCC Patches , "William J. Schmidt" , Michael Meissner Subject: Re: [PR64164] drop copyrename, integrate into expand Message-ID: <20150609202543.GH10247@tucnak.redhat.com> Reply-To: Jakub Jelinek References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) X-IsSubscribed: yes X-SW-Source: 2015-06/txt/msg00709.txt.bz2 On Tue, Jun 09, 2015 at 05:11:45PM -0300, Alexandre Oliva wrote: > On Jun 9, 2015, Alexandre Oliva wrote: > > > On Jun 9, 2015, David Edelsohn wrote: > >> This also broke bootstrap on PPC64 LE Linux with the same error. > > > Thanks for your reports. I'm looking into the problem. > > > I'd appreciate a preprocessed testcase from either of you to confirm the > > fix, if not to help debug it. > > The first potential source for this problem that jumped at me would be > silenced with this change: > > diff --git a/gcc/function.c b/gcc/function.c > index 8bcc352..9201ed9 100644 > --- a/gcc/function.c > +++ b/gcc/function.c > @@ -2974,7 +2974,8 @@ assign_parm_setup_block (struct assign_parm_data_all *all, > stack_parm = copy_rtx (stack_parm); > if (GET_MODE_SIZE (GET_MODE (entry_parm)) == size) > PUT_MODE (stack_parm, GET_MODE (entry_parm)); > - set_mem_attributes (stack_parm, parm, 1); > + if (GET_CODE (stack_parm) == MEM) FYI, this is preferrably if (MEM_P (stack_parm)) these days. > + set_mem_attributes (stack_parm, parm, 1); > } Jakub