https://gcc.gnu.org/bugzilla/show_bug.cgi?id=125770

--- Comment #1 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
We call mark_used on builtin_pack_fn_p outside a template and it then
complains:

  if (builtin_pack_fn_p (decl))
    {    
      error ("use of built-in parameter pack %qD outside of a template",
             DECL_NAME (decl));
      return false;
    }

I don't know that we need resolve_type_of_reflected_decl for any built-ins. 
Maybe we can skip all fndecl_built_in_p?

Reply via email to