On Wed, Jul 19, 2023 at 03:36:49PM -0400, Jason Merrill wrote: > On 7/19/23 15:20, Marek Polacek wrote: > > Bootstrapped/regtested on x86_64-pc-linux-gnu, ok for trunk? > > OK. We might also improve the diagnostic for base classes, perhaps by > teaching dump_simple_decl about DECL_FIELD_IS_BASE?
As in, instead of "D::<anonymous>" emit "D::B"? Good idea. I suppose I could do that; Barry's testcase without this patch looks like a good test case. Thanks, Marek