From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3565 invoked by alias); 24 Oct 2008 14:21:12 -0000 Received: (qmail 3545 invoked by uid 22791); 24 Oct 2008 14:21:12 -0000 X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 24 Oct 2008 14:20:37 +0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id m9OEKYfL018772; Fri, 24 Oct 2008 10:20:34 -0400 Received: from zebedee.pink (vpn-14-20.rdu.redhat.com [10.11.14.20]) by int-mx1.corp.redhat.com (8.13.1/8.13.1) with ESMTP id m9OEKWBp012002; Fri, 24 Oct 2008 10:20:33 -0400 Message-ID: <4901D9B0.5040001@redhat.com> Date: Fri, 24 Oct 2008 14:57:00 -0000 From: Andrew Haley User-Agent: Thunderbird 2.0.0.17 (X11/20080914) MIME-Version: 1.0 To: gcc-patches , Java Patch List Subject: Re: Don't build the decl for the constant pool twice References: <48F4DAF1.5090703@redhat.com> In-Reply-To: <48F4DAF1.5090703@redhat.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes 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 X-SW-Source: 2008-10/txt/msg01057.txt.bz2 Andrew Haley wrote: > We were building the decl for the cpool twice, which caused IPA failures. > Fixed thusly. > > Andrew. > > > 2008-10-14 Andrew Haley > > * constants.c (build_constant_data_ref): Make sure we only build > one copy of the decl for the constant pool. Also applied to the gcc-4.3 branch. Andrew.