This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
Re: c/10826: [3.3/3.4 regression] Anonymous union regression
- From: Janis Johnson <janis187 at us dot ibm dot com>
- To: nobody at gcc dot gnu dot org
- Cc: gcc-prs at gcc dot gnu dot org,
- Date: 21 May 2003 01:46:00 -0000
- Subject: Re: c/10826: [3.3/3.4 regression] Anonymous union regression
- Reply-to: Janis Johnson <janis187 at us dot ibm dot com>
The following reply was made to PR c/10826; it has been noted by GNATS.
From: Janis Johnson <janis187@us.ibm.com>
To: gcc-prs@gcc.gnu.org, gcc-bugs@gcc.gnu.org, gcc-gnats@gcc.gnu.org,
bartoldeman@users.sourceforge.net, nobody@gcc.gnu.org, rth@redhat.com
Cc:
Subject: Re: c/10826: [3.3/3.4 regression] Anonymous union regression
Date: Tue, 20 May 2003 18:35:22 -0700
The test case starts getting an error with this patch:
> 2002-06-16 Richard Henderson <rth@redhat.com>
>
> * c-common.c (flag_ms_extensions): Move from c++ front end.
> * c-common.h (flag_ms_extensions): Declare.
> * c-decl.c (c_decode_option): Add -fms-extensions.
> (grokfield): Don't accept anonymous structures in ISO C mode;
> accept only unnamed anonymous structures in GNU C mode; accept
> Plan 9 extensions in MS mode.
> * c-parse.in (SAVE_EXT_FLAGS, RESTORE_EXT_FLAGS): Rename from
> SAVE/RESTORE_WARN_FLAGS; add flag_iso frobbing; update all
callers.
> (extension): Clear flag_iso.
> * doc/invoke.texi (C Dialect Options): Add -fms-extensions.
>
--- gcc/gcc/cp/ChangeLog ---
> 2002-06-16 Richard Henderson <rth@redhat.com>
>
> * cp-tree.h, decl2.c (flag_ms_extensions): Move to c-common.
It doesn't seem to be a regression after all, but a fix.
Janis
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=10826