https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109707
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|target |middle-end
Summary|Skip __attribute__((naked)) |naked attribute should
|functions for -pg and |imply the
|-finstrument-functions |no_instrument_function
| |attribute
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
As a workaround, you could add the attribute no_instrument_function.