Introduce no_profile_instrument_function attribute
authorMartin Liska <mliska@suse.cz>
Thu, 28 Jul 2016 08:45:29 +0000 (10:45 +0200)
committerMartin Liska <marxin@gcc.gnu.org>
Thu, 28 Jul 2016 08:45:29 +0000 (08:45 +0000)
commit1225d6b1134b5eb31bcb592ac46a4d479dcb62b1
tree65d289d14b3f9bef4364fd78f61f605d0611bbf4
parent9bd6a6aebf1d2ef3c8199d2c9a263dd47054d14c
Introduce no_profile_instrument_function attribute

PR gcov-profile/68025
* tree-profile.c (tree_profiling): Respect
no_profile_instrument_function attribute.
* doc/extend.texi: Document no_profile_instrument_function
attribute.
PR gcov-profile/68025
* c-common.c (handle_no_profile_instrument_function_attribute):
PR gcov-profile/68025
* gcc.dg/no_profile_instrument_function-attr-1.c: New test.

From-SVN: r238811
gcc/ChangeLog
gcc/c-family/ChangeLog
gcc/c-family/c-common.c
gcc/doc/extend.texi
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/no_profile_instrument_function-attr-1.c [new file with mode: 0644]
gcc/tree-profile.c