On Fri, Jul 30, 2021 at 3:35 PM Andrew Pinski <pins...@gmail.com> wrote:

> On Fri, Jul 30, 2021 at 9:26 AM Jason Merrill via Gcc-patches
> <gcc-patches@gcc.gnu.org> wrote:
> >
> > In discussion of jakub's patch for C++20 pointer-interconvertibility, it
> > came up that we allow anonymous structs to have bases, but don't do
> anything
> > usable with them.  Let's reject it.
> >
> > The comment change is something I noticed while looking for the right
> place
> > to diagnose this: finish_struct_anon does not actually check for anything
> > invalid, so it shouldn't claim to.
>
> This should fix PR 96636 by rejecting the code.
>

Thanks.

Jason

Reply via email to