https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109707
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Andrew Pinski from comment #2) > As a workaround, you could add the attribute no_instrument_function. Which is documented here: https://gcc.gnu.org/onlinedocs/gcc-13.1.0/gcc/Common-Function-Attributes.html#index-no_005finstrument_005ffunction-function-attribute