Hi Marek,

On 7 Oct 2024, at 21:44, Marek Polacek wrote:

> 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.
Indeed, thanks. Change integrated in my local branch, so that it goes in 
once I have an approved version.

Simon

Reply via email to