[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
Mon Jul 25 13:50:00 GMT 2016


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68025

--- Comment #4 from Martin Liška <marxin at gcc dot gnu.org> ---
(In reply to Yuan Pengfei from comment #2)
> (In reply to Richard Biener from comment #1)
> > Confirmed.  profile-arcs is not supposed to be used in optimize pragmas or
> > attributes and GCC should emit an error here but somehow it does not.
> 
> If so, how can I achieve function-level instrumentation control?

May I please ask you for motivation of having such a control?

Thanks,
Martin


More information about the Gcc-bugs mailing list