Re: [PATCH v2] c++: Member template function lookup failure [PR94799]

2020-05-01 Thread Jason Merrill via Gcc-patches
On 4/30/20 7:48 PM, Marek Polacek wrote: On Wed, Apr 29, 2020 at 05:10:44PM -0400, Jason Merrill via Gcc-patches wrote: On 4/28/20 11:55 PM, Marek Polacek wrote: Whew, this took a while. We fail to parse "p->template A::a()" (where p is of type A *) because since r249752 we treat the RHS of th

Re: [PATCH v2] c++: Member template function lookup failure [PR94799]

2020-04-30 Thread Marek Polacek via Gcc-patches
On Wed, Apr 29, 2020 at 05:10:44PM -0400, Jason Merrill via Gcc-patches wrote: > On 4/28/20 11:55 PM, Marek Polacek wrote: > > Whew, this took a while. We fail to parse "p->template A::a()" > > (where p is of type A *) because since r249752 we treat the RHS of the -> > > as dependent and avoid a l