Make C1X anonymous structs/unions follow N1549
Jakub Jelinek
jakub@redhat.com
Fri Mar 18 21:52:00 GMT 2011
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.
I guess it is ok for 4.6.0 too.
Jakub
More information about the Gcc-patches
mailing list