On Mon, Oct 07, 2024 at 07:35:27PM +0000, Simon Martin wrote:
> -     /* Remove any overridden functions.  */
> -     bool seen_non_override = false;
> +     /* Find all the base_fndecls that are overridden, as well as those
> +        that are hidden, in T.  */
>       for (tree fndecl : ovl_range (fns))
>         {
> -         bool any_override = false;
> +         if (TREE_CODE (fndecl) == TEMPLATE_DECL)
> +           fndecl = DECL_TEMPLATE_RESULT (fndecl);

This can be
  fndecl = STRIP_TEMPLATE (fndecl);
You don't need to repost the patch just because of this.

Marek

Reply via email to