IPA ICF: add no_icf attribute.
commit85fbea9709061ce97395dec59cddefcc62e787a9
authormarxin <marxin@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 19 Jan 2015 15:20:16 +0000 (19 15:20 +0000)
committermarxin <marxin@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 19 Jan 2015 15:20:16 +0000 (19 15:20 +0000)
tree606d4253fc1a5473eb60955880ac752e49f992bb
parentc16b7ed55398d2ea55d9ab35519f20cc053b9d0a
IPA ICF: add no_icf attribute.

* c-common.c (handle_noicf_attribute): New function.
* doc/extend.texi (no_icf): Add new attribute description.
* ipa-icf.c (sem_item_optimizer::merge_classes): Handle cases
where the pass attempts to merge a function with no_icf attribute.
* gcc.dg/ipa/ipa-icf-33.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@219848 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/c-family/ChangeLog
gcc/c-family/c-common.c
gcc/doc/extend.texi
gcc/ipa-icf.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/ipa/ipa-icf-33.c [new file with mode: 0644]