From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 73262 invoked by alias); 24 Mar 2015 17:32:49 -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 73252 invoked by uid 89); 24 Mar 2015 17:32:48 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.0 required=5.0 tests=AWL,BAYES_00,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: atrey.karlin.mff.cuni.cz Received: from atrey.karlin.mff.cuni.cz (HELO atrey.karlin.mff.cuni.cz) (195.113.26.193) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 24 Mar 2015 17:32:47 +0000 Received: by atrey.karlin.mff.cuni.cz (Postfix, from userid 4018) id 94DAD817C8; Tue, 24 Mar 2015 18:32:45 +0100 (CET) Date: Tue, 24 Mar 2015 17:32:00 -0000 From: Jan Hubicka To: Martin =?iso-8859-2?Q?Li=B9ka?= Cc: GCC Patches , Jan Hubicka Subject: Re: [PATCH] IPA ICF: make hash values finer Message-ID: <20150324173245.GF19215@atrey.karlin.mff.cuni.cz> References: <551174A3.2070400@suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <551174A3.2070400@suse.cz> User-Agent: Mutt/1.5.21 (2010-09-15) X-IsSubscribed: yes X-SW-Source: 2015-03/txt/msg01259.txt.bz2 > >From 1943aa293c1ff7622cf9090a834d7bd9dfaaf086 Mon Sep 17 00:00:00 2001 > From: mliska > Date: Mon, 23 Mar 2015 15:36:11 +0100 > Subject: [PATCH] IPA ICF: enhance hash value calculated in TU > > gcc/ChangeLog: > > 2015-03-23 Jan Hubicka > Martin Liska > > * ipa-icf-gimple.h (return_with_result): Add missing colon to dump. > * ipa-icf.c (sem_function::get_hash): Hash new declaration properties. > (sem_item::add_type): New function. > (sem_function::hash_stmt): Add TREE_TYPE of gimple_op. > (sem_function::compare_polymorphic_p): Do not consider indirect calls. > (sem_item_optimizer::update_hash_by_addr_refs): Add ODR type to hash. > (sem_function::equals_wpa): Fix typo. > * ipa-icf.h (sem_item::add_type): New function. > (symbol_compare_hashmap_traits): Replace hashing of pointer with symbol > order. OK, thanks! Honza