c/10826: [3.3/3.4 regression] Anonymous union regression
Janis Johnson
janis187@us.ibm.com
Wed May 21 02:38:00 GMT 2003
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
More information about the Gcc-bugs
mailing list