From patchwork Tue Jun 18 09:59:52 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Biener X-Patchwork-Id: 252212 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]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "localhost", Issuer "www.qmailtoaster.com" (not verified)) by ozlabs.org (Postfix) with ESMTPS id B7B1F2C0077 for ; Tue, 18 Jun 2013 20:00:01 +1000 (EST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:date :from:to:cc:subject:in-reply-to:message-id:references :mime-version:content-type; q=dns; s=default; b=cC6HAXuY9Qe6s7wV b8QEvz+vTE+dEp8uEHBg5KnbiwGvKP+eeI700PTx7+g75j3Kc/c0dECuGTg/8DIq gEQLzuEn0Q0S1snpi+OWBdB1ZeW534S+jb5Fafqa0v6jujRMsSNeq748rNvVWD4I Dh9qa5woYEKKPXKjq3Q3gjfwJ2g= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:date :from:to:cc:subject:in-reply-to:message-id:references :mime-version:content-type; s=default; bh=qGCXn6FJkoxP2ymMjX3cRx PJDhE=; b=EGagHej+HtOsaeK6z0L3F+RsryBZm9a113WCRNXUCw+/nLNw/vcnr0 VyZGLPCY64r8qMmxWsT3kr+irI+3UPT+oGtZO790226fkzy1jmRJajqFK1NeBZRP RXqRJHbRqND8j4UFpNoWeSLU4ylnlRUxCsuu1uBisw0P22VR8CZRE= Received: (qmail 6082 invoked by alias); 18 Jun 2013 09:59:55 -0000 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 Received: (qmail 6072 invoked by uid 89); 18 Jun 2013 09:59:55 -0000 X-Spam-SWARE-Status: No, score=-6.5 required=5.0 tests=AWL, BAYES_00, KHOP_RCVD_UNTRUST, KHOP_THREADED, RCVD_IN_HOSTKARMA_W, RCVD_IN_HOSTKARMA_WL, RP_MATCHES_RCVD autolearn=ham version=3.3.1 Received: from cantor2.suse.de (HELO mx2.suse.de) (195.135.220.15) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Tue, 18 Jun 2013 09:59:55 +0000 Received: from relay2.suse.de (unknown [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id E79CDA51CB; Tue, 18 Jun 2013 11:59:52 +0200 (CEST) Date: Tue, 18 Jun 2013 11:59:52 +0200 (CEST) From: Richard Biener To: Andi Kleen Cc: gcc-patches@gcc.gnu.org, Jan Hubicka , Michael Matz , Diego Novillo Subject: Re: [PATCH] Re-write LTO type merging again, do tree merging In-Reply-To: <20130617175157.GG6123@two.firstfloor.org> Message-ID: References: <20130617175157.GG6123@two.firstfloor.org> User-Agent: Alpine 2.00 (LNX 1167 2008-08-23) MIME-Version: 1.0 On Mon, 17 Jun 2013, Andi Kleen wrote: > > Current trunk cannot build LTO kernels now, with your patch, > as reported earlier. > > Please fix ASAP. I'm surprised that you checked in a patchkit > with such serious reported problems. > > -Andi > > > backup/lsrc/git/linux-lto-2.6/lib/decompress_unlzo.c: In function 'unlzo': > /backup/lsrc/git/linux-lto-2.6/lib/decompress_unlzo.c:79:8: internal compiler error: in expand_expr_real_1, at expr.c:9361 > parse += 7; > ^ > 0x5ea175 expand_expr_real_1(tree_node*, rtx_def*, machine_mode, expand_modifier, rtx_def**) > ../../gcc/gcc/expr.c:9356 That suggests might fix it. Richard. Index: gcc/expr.c =================================================================== --- gcc/expr.c (revision 200164) +++ gcc/expr.c (working copy) @@ -9353,7 +9353,7 @@ expand_expr_real_1 (tree exp, rtx target /* Variables inherited from containing functions should have been lowered by this point. */ context = decl_function_context (exp); - gcc_assert (!context + gcc_assert (SCOPE_FILE_SCOPE_P (context) || context == current_function_decl || TREE_STATIC (exp) || DECL_EXTERNAL (exp)