Re: [PATCH] c++: access for hidden friend of nested class template [PR100502]

2021-05-26 Thread Jason Merrill via Gcc-patches
On 5/26/21 10:31 AM, Patrick Palka wrote: On Tue, 25 May 2021, Jason Merrill wrote: On 5/25/21 10:50 AM, Patrick Palka wrote: On Mon, 24 May 2021, Jason Merrill wrote: On 5/21/21 4:35 PM, Patrick Palka wrote: Here, during ahead of time access checking for the private member

Re: [PATCH] c++: access for hidden friend of nested class template [PR100502]

2021-05-26 Thread Patrick Palka via Gcc-patches
On Tue, 25 May 2021, Jason Merrill wrote: > On 5/25/21 10:50 AM, Patrick Palka wrote: > > On Mon, 24 May 2021, Jason Merrill wrote: > > > > > On 5/21/21 4:35 PM, Patrick Palka wrote: > > > > Here, during ahead of time access checking for the private member > > > > EnumeratorRange::end_reached_

Re: [PATCH] c++: access for hidden friend of nested class template [PR100502]

2021-05-25 Thread Jason Merrill via Gcc-patches
On 5/25/21 10:50 AM, Patrick Palka wrote: On Mon, 24 May 2021, Jason Merrill wrote: On 5/21/21 4:35 PM, Patrick Palka wrote: Here, during ahead of time access checking for the private member EnumeratorRange::end_reached_ in the hidden friend f, we're triggering the the assert in

Re: [PATCH] c++: access for hidden friend of nested class template [PR100502]

2021-05-25 Thread Patrick Palka via Gcc-patches
On Mon, 24 May 2021, Jason Merrill wrote: > On 5/21/21 4:35 PM, Patrick Palka wrote: > > Here, during ahead of time access checking for the private member > > EnumeratorRange::end_reached_ in the hidden friend f, we're triggering > > the the assert in enforce_access that verifies we're not trying

Re: [PATCH] c++: access for hidden friend of nested class template [PR100502]

2021-05-24 Thread Jason Merrill via Gcc-patches
On 5/21/21 4:35 PM, Patrick Palka wrote: Here, during ahead of time access checking for the private member EnumeratorRange::end_reached_ in the hidden friend f, we're triggering the the assert in enforce_access that verifies we're not trying to add a dependent access check to

[PATCH] c++: access for hidden friend of nested class template [PR100502]

2021-05-21 Thread Patrick Palka via Gcc-patches
Here, during ahead of time access checking for the private member EnumeratorRange::end_reached_ in the hidden friend f, we're triggering the the assert in enforce_access that verifies we're not trying to add a dependent access check to TI_DEFERRED_ACCESS_CHECKS. The special thing about this class