IPA ICF: add no_icf attribute.
authorMartin Liska <mliska@suse.cz>
Mon, 19 Jan 2015 15:20:16 +0000 (16:20 +0100)
committerMartin Liska <marxin@gcc.gnu.org>
Mon, 19 Jan 2015 15:20:16 +0000 (15:20 +0000)
commit185c9e56217b2b645736972721840ea5720e7da4
tree606d4253fc1a5473eb60955880ac752e49f992bb
parentb24671f781462b8ba66481e57053d87fce26a5d8
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.

From-SVN: r219848
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]