Re: [PATCH] c++: base-clause parsing and implicit 'this' [PR100362]

2021-05-03 Thread Jason Merrill via Gcc-patches
On 5/3/21 12:48 PM, Patrick Palka wrote: My r11-6815 change to defer access checking when processing a base-clause removed a pair of pushclass / popclass calls that seemed to be unnecessary now that we'd also defer access checking while parsing the base-clause. But it turns out this makes a diff

[PATCH] c++: base-clause parsing and implicit 'this' [PR100362]

2021-05-03 Thread Patrick Palka via Gcc-patches
My r11-6815 change to defer access checking when processing a base-clause removed a pair of pushclass / popclass calls that seemed to be unnecessary now that we'd also defer access checking while parsing the base-clause. But it turns out this makes a difference in the below testcase, where we have