From patchwork Mon Sep 17 16:09:19 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Georg-Johann Lay X-Patchwork-Id: 184486 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 3BC3B2C0084 for ; Tue, 18 Sep 2012 02:09:43 +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=1348502985; h=Comment: DomainKey-Signature: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=mgVFI/n m0AensrKH5hmLaYoYp44=; b=m9V0MKnRkS1xI3W793J91MkaF24fj4k9d9eocY9 +eJX3JNmTXN+ew/q1U2cnH05BWhmVszGwTn1cjGZ9sWCIHhej1pFnPMsLKb8Hxhs hUy4zierTiTapJGySVBiMr/Ypgw65gceScaeHJwpSe3vXzytrtdQTI1/jp/Rt5db 2Rgk= 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:X-RZG-AUTH:X-RZG-CLASS-ID: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=DwJ94R2vOZIcSi8Zwa590UR229lbytHxEG4jrVWyAptar5skT37RdGvIDHXS90 ZFg8A4iMPxqyRJ12+A4O/c950n8HyZ1R48a7dts4IR55nTfMPbLrsGTM7t+EYgi1 YWZgeRA11oCGZrP3QDuXImh3YmmUlpHH3sxsfZZUXa+aY=; Received: (qmail 5926 invoked by alias); 17 Sep 2012 16:09:39 -0000 Received: (qmail 5913 invoked by uid 22791); 17 Sep 2012 16:09:37 -0000 X-SWARE-Spam-Status: No, hits=-1.6 required=5.0 tests=AWL, BAYES_00, RCVD_IN_DNSWL_NONE X-Spam-Check-By: sourceware.org Received: from mo-p00-ob.rzone.de (HELO mo-p00-ob.rzone.de) (81.169.146.161) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 17 Sep 2012 16:09:22 +0000 X-RZG-AUTH: :LXoWVUeid/7A29J/hMvvT2k715jHQaJercGObUOFkj18odoYNahU4Q== X-RZG-CLASS-ID: mo00 Received: from [192.168.0.22] (business-188-111-022-002.static.arcor-ip.net [188.111.22.2]) by smtp.strato.de (josoe mo48) (RZmta 30.14 AUTH) with ESMTPA id R010cao8HFgRml ; Mon, 17 Sep 2012 18:09:19 +0200 (CEST) Message-ID: <50574B2F.9000701@gjlay.de> Date: Mon, 17 Sep 2012 18:09:19 +0200 From: Georg-Johann Lay User-Agent: Thunderbird 2.0.0.24 (X11/20100302) MIME-Version: 1.0 To: GCC Patches , Richard Guenther Subject: [Patch,lto,committed]: Fix PR lto/54598 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 http://gcc.gnu.org/viewcvs?view=revision&revision=191394 Committed as preapproved in http://gcc.gnu.org/PR54598#c1 Johann PR lto/54598 * tree-streamer-in.c (unpack_ts_real_cst_value_fields): Use ggc'ed FIXED_VALUE_TYPE instead of struct fixed_value. Index: tree-streamer-in.c =================================================================== --- tree-streamer-in.c (revision 191393) +++ tree-streamer-in.c (revision 191394) @@ -172,12 +172,11 @@ unpack_ts_real_cst_value_fields (struct static void unpack_ts_fixed_cst_value_fields (struct bitpack_d *bp, tree expr) { - struct fixed_value fv; - - fv.mode = bp_unpack_enum (bp, machine_mode, MAX_MACHINE_MODE); - fv.data.low = bp_unpack_var_len_int (bp); - fv.data.high = bp_unpack_var_len_int (bp); - TREE_FIXED_CST (expr) = fv; + FIXED_VALUE_TYPE *fp = ggc_alloc_fixed_value (); + fp->mode = bp_unpack_enum (bp, machine_mode, MAX_MACHINE_MODE); + fp->data.low = bp_unpack_var_len_int (bp); + fp->data.high = bp_unpack_var_len_int (bp); + TREE_FIXED_CST_PTR (expr) = fp; }