IPA ICF: target and optimization flags comparison.
authorMartin Liska <mliska@suse.cz>
Fri, 9 Jan 2015 10:33:00 +0000 (11:33 +0100)
committerMartin Liska <marxin@gcc.gnu.org>
Fri, 9 Jan 2015 10:33:00 +0000 (10:33 +0000)
commit3f9f4ae70554ee0f7b756fc1d811aefb6e70f076
tree1c877e5ceb75376cc425d2d78971a217c753a79c
parent56f6033d2bc75b90a1006b5245a8da338224506d
IPA ICF: target and optimization flags comparison.

* 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
optimization flags comparison.
* tree.h (target_opts_for_fn): New function.
* gcc.dg/ipa/ipa-icf-32.c: New test.

From-SVN: r219377
gcc/ChangeLog
gcc/cgraphunit.c
gcc/ipa-icf.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/ipa/ipa-icf-32.c [new file with mode: 0644]
gcc/tree.h