Re: [PATCH] c++: memfn lookup consistency and using-decls [PR104432]

2022-02-09 Thread Jason Merrill via Gcc-patches
On 2/9/22 15:15, Patrick Palka wrote: On Wed, 9 Feb 2022, Jason Merrill wrote: On 2/9/22 11:36, Patrick Palka wrote: On Wed, 9 Feb 2022, Jason Merrill wrote: On 2/9/22 10:45, Patrick Palka wrote: In filter_memfn_lookup, we weren't correctly recognizing and matching up member functions intro

Re: [PATCH] c++: memfn lookup consistency and using-decls [PR104432]

2022-02-09 Thread Patrick Palka via Gcc-patches
On Wed, 9 Feb 2022, Jason Merrill wrote: > On 2/9/22 11:36, Patrick Palka wrote: > > On Wed, 9 Feb 2022, Jason Merrill wrote: > > > > > On 2/9/22 10:45, Patrick Palka wrote: > > > > In filter_memfn_lookup, we weren't correctly recognizing and matching up > > > > member functions introduced via a

Re: [PATCH] c++: memfn lookup consistency and using-decls [PR104432]

2022-02-09 Thread Jason Merrill via Gcc-patches
On 2/9/22 11:36, Patrick Palka wrote: On Wed, 9 Feb 2022, Jason Merrill wrote: On 2/9/22 10:45, Patrick Palka wrote: In filter_memfn_lookup, we weren't correctly recognizing and matching up member functions introduced via a non-dependent using-decl. This caused us to crash in the below testca

Re: [PATCH] c++: memfn lookup consistency and using-decls [PR104432]

2022-02-09 Thread Patrick Palka via Gcc-patches
On Wed, 9 Feb 2022, Jason Merrill wrote: > On 2/9/22 10:45, Patrick Palka wrote: > > In filter_memfn_lookup, we weren't correctly recognizing and matching up > > member functions introduced via a non-dependent using-decl. This caused > > us to crash in the below testcases in which we correctly pr

Re: [PATCH] c++: memfn lookup consistency and using-decls [PR104432]

2022-02-09 Thread Jason Merrill via Gcc-patches
On 2/9/22 10:45, Patrick Palka wrote: In filter_memfn_lookup, we weren't correctly recognizing and matching up member functions introduced via a non-dependent using-decl. This caused us to crash in the below testcases in which we correctly pruned the overload set for the non-dependent call ahead

[PATCH] c++: memfn lookup consistency and using-decls [PR104432]

2022-02-09 Thread Patrick Palka via Gcc-patches
In filter_memfn_lookup, we weren't correctly recognizing and matching up member functions introduced via a non-dependent using-decl. This caused us to crash in the below testcases in which we correctly pruned the overload set for the non-dependent call ahead of time, but then at instantiation time