On Fri, 18 Mar 2011, Jakub Jelinek wrote: > On Fri, Mar 18, 2011 at 09:16:55PM +0000, Joseph S. Myers wrote: > > This week's London WG14 meeting agreed to disallow the use of typedefs > > in declaring anonymous structure and union fields, as per N1549. This > > patch implements this, restricting the use of typedefs in this case to > > -fms-extensions and -fplan9-extensions as in 4.5 and earlier releases. > > If I understand it right, your patch restores the 4.5 code except for > -fplan9-extensions and with flag_iso not being checked.
Yes, that's the intent of the grokfield changes in this patch. (All the other front-end changes in 4.6 relating to anonymous structs and unions are unaffected by this typedef change.) -- Joseph S. Myers jos...@codesourcery.com