This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Make C1X anonymous structs/unions follow N1549
- From: Jakub Jelinek <jakub at redhat dot com>
- To: "Joseph S. Myers" <joseph at codesourcery dot com>
- Cc: gcc-patches at gcc dot gnu dot org, Mark Mitchell <mark at codesourcery dot com>, rguenther at suse dot de
- Date: Fri, 18 Mar 2011 22:52:17 +0100
- Subject: Re: Make C1X anonymous structs/unions follow N1549
- References: <Pine.LNX.4.64.1103182113100.4243@digraph.polyomino.org.uk>
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
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