This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Patch for tag and enum redeclarations
On Fri, 24 Sep 2004, Geoffrey Keating wrote:
> "Joseph S. Myers" <jsm@polyomino.org.uk> writes:
>
> > Incidentally, C_TYPE_BEING_DEFINED, which this patch causes to be used
> > again, was long being set with no uses (there was a single use in 2.x,
> > conditioned out with #if 0, back to 2.0). It never gets reset when
> > the type has finished being defined, but this does not cause problems
> > as other diagnostics apply in that case.
>
> Maybe you should change the name to 'C_TYPE_SAW_DEFN' or something?
Seems reasonable.
--
Joseph S. Myers http://www.srcf.ucam.org/~jsm28/gcc/
http://www.srcf.ucam.org/~jsm28/gcc/#c90status - status of C90 for GCC 4.0
jsm@polyomino.org.uk (personal mail)
jsm28@gcc.gnu.org (Bugzilla assignments and CCs)