On Fri, Jun 27, 2025 at 05:17:55PM -0400, Jason Merrill wrote:
> I've pushed those changes.

Great.

> >     /* For a non-pointer simple base reference, express it as a 
> > COMPONENT_REF
> >        without taking its address (and so causing lambda capture, 91933).  
> > */
> > -  if (code == PLUS_EXPR && !v_binfo && !want_pointer && !has_empty && 
> > !uneval)
> > +  if (code == PLUS_EXPR
> > +      && !want_pointer
> > +      && !has_empty
> > +      && !uneval
> > +      && (!v_binfo || !virtual_access))
> 
> This can just be !virtual_access since !v_binfo implies !virtual_access.
> 
> OK with that tweak.

Thanks, committed now (without your -fno-implicit-constexpr tweaks, I hope
that can be committed separately).

        Jakub

Reply via email to