https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68025
--- Comment #2 from Yuan Pengfei <coolypf at qq dot com> --- (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?