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

Janis Johnson <[email protected]>
Newsgroups gmane.comp.gcc.prs
Message-ID <[email protected]>
The following reply was made to PR c/10826; it has been noted by GNATS.

From: Janis Johnson <[email protected]>
To: [email protected], [email protected], [email protected],
   [email protected], [email protected], [email protected]
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  <[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.