"Andrew Pinski" <[EMAIL PROTECTED]> writes: > On 6/5/07, Aaron Gray <[EMAIL PROTECTED]> wrote: > > There is something weird with the switch statement in cp/decl.c:7105. > > I dont think it will effect the decl.c's logic, but what does it say about > > the GCC's C parser, is this legal C ? > > Yes this is legal C :). > Just for everyone else the code looks like: > switch( a) > { > case b: > { > ... > break > case c: > ..... > } > } > > case are just special kind of labels.
And Simon already sent in a tested patch for a couple of days ago: http://gcc.gnu.org/ml/gcc-patches/2007-06/msg00199.html Ian