Re: c/10826: [3.3/3.4 regression] Anonymous union regression

Janis Johnson <[email protected]>
Newsgroups gmane.comp.gcc.bugs,gmane.comp.gcc.prs
Organization IBM
Message-ID <[email protected]>
The test case starts getting an error with this patch:

> 2002-06-16  Richard Henderson  <[email protected]>
>
>       * 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  <[email protected]>
>
>       * 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.