https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94937
--- Comment #17 from Marek Polacek <mpolacek at gcc dot gnu.org> --- Ah, omp_declare_variant_finalize_one. I think I'll do something similar, but not the same: if we see a CALL_EXPR whose CALL_EXPR_FN is a BASELINK, we know it's not the std::is_constant_evaluated call we're looking for. Thanks.