From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23411 invoked by alias); 30 Jun 2014 22:21:51 -0000 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 Received: (qmail 23400 invoked by uid 89); 30 Jun 2014 22:21:50 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.4 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: nikam.ms.mff.cuni.cz Received: from nikam.ms.mff.cuni.cz (HELO nikam.ms.mff.cuni.cz) (195.113.20.16) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Mon, 30 Jun 2014 22:21:49 +0000 Received: by nikam.ms.mff.cuni.cz (Postfix, from userid 16202) id CC303542F42; Tue, 1 Jul 2014 00:21:46 +0200 (CEST) Date: Mon, 30 Jun 2014 22:21:00 -0000 From: Jan Hubicka To: Martin =?iso-8859-2?Q?Li=B9ka?= Cc: Jan Hubicka , GCC Patches Subject: Re: [PATCH] IPA REF: alias refactoring Message-ID: <20140630222146.GB19996@kam.mff.cuni.cz> References: <53AD41FB.3040409@suse.cz> <20140628064954.GB20144@atrey.karlin.mff.cuni.cz> <53B1D3E7.30508@suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <53B1D3E7.30508@suse.cz> User-Agent: Mutt/1.5.21 (2010-09-15) X-SW-Source: 2014-06/txt/msg02455.txt.bz2 > > gcc/ChangeLog: > > * cgraph.h (iterate_direct_aliases): New function. > (FOR_EACH_ALIAS): New macro iterates all direct aliases for a node. > * cgraph.c (cgraph_for_node_thunks_and_aliases): Usage of > FOR_EACH_ALIAS added. > (cgraph_for_node_and_aliases): Likewise. > * cgraphunit.c (assemble_thunks_and_aliases): Likewise. > * ipa-inline.c (reset_edge_caches): Likewise. > (update_caller_keys): Likewise. > * trans-mem.c (ipa_tm_execute): Likewise. > *varpool.c (varpool_analyze_node): Likewise. > (varpool_for_node_and_aliases): Likewise. > * ipa-ref.h (first_alias): New function. > (last_alias): Likewise. > (has_aliases_p): Likewise. > * ipa-ref.c (ipa_ref::remove_reference): Removal function > is sensitive to IPA_REF_ALIASes. > * symtab.c (symtab_node::add_reference): Node of IPA_REF_ALIAS type > are put at the beginning of the list. > (symtab_node::iterate_direct_aliases): New function. > > gcc/lto/ChangeLog: > > * lto-partition.c (add_symbol_to_partition_1): Usage of > FOR_EACH_ALIAS added. OK, thanks! Honza