Re: [PATCH] Add a STATIC_ASSERT on sizeof (struct cp_token)

2016-07-25 Thread Richard Biener
On Fri, Jul 22, 2016 at 4:11 PM, Jakub Jelinek wrote: > On Fri, Jul 22, 2016 at 10:33:50AM -0400, David Malcolm wrote: >> gcc/cp/ChangeLog: >> * parser.h (struct cp_token): Add a STATIC_ASSERT on the >> size of the struct. >> --- >> gcc/cp/parser.h | 9 + >>

Re: [PATCH] Add a STATIC_ASSERT on sizeof (struct cp_token)

2016-07-22 Thread Jakub Jelinek
On Fri, Jul 22, 2016 at 10:33:50AM -0400, David Malcolm wrote: > gcc/cp/ChangeLog: > * parser.h (struct cp_token): Add a STATIC_ASSERT on the > size of the struct. > --- > gcc/cp/parser.h | 9 + > 1 file changed, 9 insertions(+) > > diff --git a/gcc/cp/parser.h

[PATCH] Add a STATIC_ASSERT on sizeof (struct cp_token)

2016-07-22 Thread David Malcolm
On Fri, 2016-07-22 at 13:06 +0200, Jakub Jelinek wrote: > On Fri, Jul 22, 2016 at 12:44:07PM +0200, Marek Polacek wrote: > > --- gcc/gcc/cp/parser.h > > +++ gcc/gcc/cp/parser.h > > @@ -46,7 +46,7 @@ struct GTY (()) cp_token { > > Otherwise, this value is RID_MAX. */ > >ENUM_BITFIELD