From patchwork Tue Dec 11 05:23:54 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dehao Chen X-Patchwork-Id: 205125 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 E330D2C0092 for ; Tue, 11 Dec 2012 16:24:08 +1100 (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=1355808250; h=Comment: DomainKey-Signature:Received:Received:Received:Received: MIME-Version:Received:Received:Date:Message-ID:Subject:From:To: Cc:Content-Type:Mailing-List:Precedence:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:Sender:Delivered-To; bh=JG1D7YW mZRkpbsz3YhU3NqUC8t0=; b=ePXO5MqbB9drp2SkXhaXaJ1o1SqlRg488DGC5LU Gh0vbcqydy2jb8IiGsxS+1jP9O1gEnVrN+i5DPkQSlzf5NqoMVSWQcZiRCMvmpvS vvtOValuESz2cIxUY1sHRqXNLN99FiiU7qTCN8MuMkTKXZUhGGqlmgDlFnPF1hUy pNOI= 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:X-Google-DKIM-Signature:MIME-Version:Received:Received:Date:Message-ID:Subject:From:To:Cc:Content-Type:X-Gm-Message-State:X-IsSubscribed:Mailing-List:Precedence:List-Id:List-Unsubscribe:List-Archive:List-Post:List-Help:Sender:Delivered-To; b=RliBhajMIODhvPNRWs3Kl53PcXzopeKqIKRkt1aX/Wyi62rjwmSOTOEhOrimrv fndlRFU0xJrII/n9KWll9u4RjTSmiUjDSaZWn6/frb2Ef5GjhjpGzWlrkR/QHW0z W9sW4RamOq4BEyiaSyIL9Sm4bI2f03sO8SPVdyqKesaf4=; Received: (qmail 1801 invoked by alias); 11 Dec 2012 05:24:02 -0000 Received: (qmail 1786 invoked by uid 22791); 11 Dec 2012 05:24:01 -0000 X-SWARE-Spam-Status: No, hits=-5.1 required=5.0 tests=AWL, BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, KHOP_RCVD_TRUST, RCVD_IN_DNSWL_LOW, RCVD_IN_HOSTKARMA_YE, RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mail-da0-f47.google.com (HELO mail-da0-f47.google.com) (209.85.210.47) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 11 Dec 2012 05:23:56 +0000 Received: by mail-da0-f47.google.com with SMTP id s35so1401217dak.20 for ; Mon, 10 Dec 2012 21:23:55 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:date:message-id:subject:from:to:cc:content-type :x-gm-message-state; bh=8OSNuDDZzSaKJM6q1SWBDoQMZ+E85wPr0r0M7M/FPdU=; b=b7fKMqEwIDRnvKZSbHBA0u+z4Od5HebFN/mGdhtAt5bOvacOWsbq40dSJODvPKGIJm kNT622oHyaelzLPMuG+GRxiOizNU1OiC9vnmnj++WyAL0tiWfRAoK6Ydom+KMTuxg+SJ OfnRDZyhIBoQwJ0kIuIL2BKqsz2hNA+c3mXh1HGX6cHKXooSOl9J7HbIUOtCsoiwPyLj rMrGdVwxeynH1SLsH/vo7NlU+pyrnKuRu+eOAwK3rcNRhSu+7nDSqNFIevLMv3dovZBW Qme3VH6u+6eilW6K9EOZ831OFvYOUGfMBThph3fluYvNHiPlImoWPaKzHtS6WgdQJba1 xE+w== MIME-Version: 1.0 Received: by 10.68.132.34 with SMTP id or2mr45533166pbb.133.1355203435069; Mon, 10 Dec 2012 21:23:55 -0800 (PST) Received: by 10.68.49.232 with HTTP; Mon, 10 Dec 2012 21:23:54 -0800 (PST) Date: Mon, 10 Dec 2012 21:23:54 -0800 Message-ID: Subject: [GOOGLE] disable streaming out TREE_BLOCK to cure lto-bootstrap From: Dehao Chen To: GCC Patches Cc: Diego Novillo , David Li X-Gm-Message-State: ALoCoQlJnDFrLhJf+7L5U1SqRiqz7gJhHBmX2QqUKXuYpnbTm+lxCvfy0oAHHzalBL73NAt1ZU5lH+wePufb0IQSaG7yao651SOVDn51QSaAxML2SyVX6yvZxXu5kqaSCS54ctxk04va0P1qnoz+8FD2TxwKEl1fUWHDqt69mj4JRyb9Zte/zK1JRa/+JPF+lN8Uzonv/VHL 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 Hi, The location_block patch has failed lto-bootstrap. This is fixed by a bunch of fixes in trunk. But we would rather not spend too much effort to back-port those fixes. So for now, we would disable streaming out TREE_BLOCK as a workaround to solve to lto-bootstrap. Bootstrapped and passed crosstool tests. Okay for google-4_7? Thanks, Dehao gcc/ChangeLog.google-4_7 2012-12-10 Dehao Chen * tree-streamer-out.c (write_ts_exp_tree_pointers): Disable streaming out TREE_BLOCK. Index: gcc/tree-streamer-out.c =================================================================== --- gcc/tree-streamer-out.c (revision 194378) +++ gcc/tree-streamer-out.c (working copy) @@ -667,7 +667,7 @@ write_ts_exp_tree_pointers (struct output_block *o for (i = 0; i < TREE_OPERAND_LENGTH (expr); i++) stream_write_tree (ob, TREE_OPERAND (expr, i), ref_p); lto_output_location (ob, LOCATION_LOCUS (EXPR_LOCATION (expr))); - stream_write_tree (ob, TREE_BLOCK (expr), ref_p); + stream_write_tree (ob, NULL_TREE, ref_p); }