On 01/07/15 04:38, Martin Liška wrote:
Hello.

Following patch adds support for target and optimization nodes
comparison, which is
based on Honza's newly added infrastructure.

Apart from that, there's a small hunk that corrects formatting and
removes unnecessary
call to a comparison function.

Hope it can be applied as one patch.

Tested on x86_64-linux-pc without any new regression introduction.

Ready for trunk?

Thank you,
Martin

0001-IPA-ICF-target-and-optimization-flags-comparison.patch


 From 393eaa47c8aef9a91a1c635016f23ca2f5aa25e4 Mon Sep 17 00:00:00 2001
From: mliska<mli...@suse.cz>
Date: Tue, 6 Jan 2015 15:06:18 +0100
Subject: [PATCH] IPA ICF: target and optimization flags comparison.

gcc/ChangeLog:

2015-01-06  Martin Liska<mli...@suse.cz>

        * cgraphunit.c (cgraph_node::create_wrapper): Fix level of indentation.
        * ipa-icf.c (sem_function::equals_private): Add support for target and
        (sem_item_optimizer::merge_classes): Remove redundant function
        comparison.
        optimization flags comparison.
        * tree.h (target_opts_for_fn): New function.
Looks like the changelog is a bit goof'd with lines intermixed.

Patch itself is good for the trunk. It'd be nice if you could add a testcase as well.

Jeff

Reply via email to