https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63956
--- Comment #10 from Marek Polacek <mpolacek at gcc dot gnu.org> --- BTW, wouldn't it make sense to not instrument things in constexpr functions? It is not always possible, but at least in cp/ we could skip instrumentation if DECL_DECLARED_CONSTEXPR_P (current_function_decl), similarly as we check for no_sanitize_undefined.