From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26005 invoked by alias); 9 Oct 2008 13:29:56 -0000 Received: (qmail 25997 invoked by uid 22791); 9 Oct 2008 13:29:55 -0000 X-Spam-Check-By: sourceware.org Received: from smtp-out.google.com (HELO smtp-out.google.com) (216.239.33.17) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 09 Oct 2008 13:29:20 +0000 Received: from zps77.corp.google.com (zps77.corp.google.com [172.25.146.77]) by smtp-out.google.com with ESMTP id m99DTCis012024 for ; Thu, 9 Oct 2008 14:29:13 +0100 Received: from qw-out-2122.google.com (qwh8.prod.google.com [10.241.194.200]) by zps77.corp.google.com with ESMTP id m99DTAPo022927 for ; Thu, 9 Oct 2008 06:29:11 -0700 Received: by qw-out-2122.google.com with SMTP id 8so11121qwh.63 for ; Thu, 09 Oct 2008 06:29:10 -0700 (PDT) Received: by 10.215.40.2 with SMTP id s2mr155614qaj.37.1223558950689; Thu, 09 Oct 2008 06:29:10 -0700 (PDT) Received: by 10.214.9.15 with HTTP; Thu, 9 Oct 2008 06:29:10 -0700 (PDT) Message-ID: Date: Thu, 09 Oct 2008 13:53:00 -0000 From: "Diego Novillo" To: "Rafael Espindola" Subject: Re: [lto][patch] Remove nodes for extern inline function before writing to disk Cc: gcc-patches In-Reply-To: <38a0d8450810090623j63452261mf64f64601c112efd@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <38a0d8450810090623j63452261mf64f64601c112efd@mail.gmail.com> 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/msg00392.txt.bz2 On Thu, Oct 9, 2008 at 06:23, Rafael Espindola wrote: > * lto-cgraph.c (output_edge): Assert that the caller is not external. > * passes.c (init_optimization_passes): Register pass_ipa_free_lang_specifics2. > * tree-pass.h (pass_ipa_free_lang_specifics2): New. > * tree.c (free_lang_specifics2): New. > (pass_ipa_free_lang_specifics2): New. No need to create another pass for this. Just call cgraph_remove_unreachable_nodes from pass_ipa_free_lang_specifics. OK with that change. Diego.