[Bug gcov-profile/68025] pragma/attribute optimize("profile-arcs") does not work as intended
marxin at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Jul 28 08:46:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68025
--- Comment #6 from Martin Liška <marxin at gcc dot gnu.org> ---
Author: marxin
Date: Thu Jul 28 08:45:29 2016
New Revision: 238811
URL: https://gcc.gnu.org/viewcvs?rev=238811&root=gcc&view=rev
Log:
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.
Added:
trunk/gcc/testsuite/gcc.dg/no_profile_instrument_function-attr-1.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/c-family/ChangeLog
trunk/gcc/c-family/c-common.c
trunk/gcc/doc/extend.texi
trunk/gcc/testsuite/ChangeLog
trunk/gcc/tree-profile.c
More information about the Gcc-bugs
mailing list