]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/cgraphunit.c
IPA ICF: target and optimization flags comparison.
authormarxin <marxin@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 9 Jan 2015 10:33:00 +0000 (10:33 +0000)
committermarxin <marxin@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 9 Jan 2015 10:33:00 +0000 (10:33 +0000)
commit275e27562a82d9c607309d8df2984680be2a2edf
tree1c877e5ceb75376cc425d2d78971a217c753a79c
parenta6f1094f56d9a3c78051b27f15a2ce820c4e0400
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@219377 138bc75d-0d04-0410-961f-82ee72b054a4
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