gcc/gcc c-decl.c ChangeLog

bothner@gcc.gnu.org bothner@gcc.gnu.org
Mon Dec 1 06:53:00 GMT 2003


CVSROOT:	/cvs/gcc
Module name:	gcc
Branch: 	compile-server-branch
Changes by:	bothner@gcc.gnu.org	2003-12-01 06:53:05

Modified files:
	gcc            : c-decl.c ChangeLog 

Log message:
	Remember a tag type across compilation units.
	* c-decl.c (TYPE_IS_OLD_TAG):  New macro.
	* c-decl.c (restore_fragment_bindings):  Chain new decl after old one.
	When restoring a tag, reuse old tag type, and clear TYPE_IS_OLD_TAG.
	(poplevel):  If popping a global tag, keep the IDNTEFIER_TAG_VALUE,
	but hide it using TYPE_IS_OLD_TAG.
	(lookup_tag, shadow_tag_warned, xref_tag, start_struct, start_enum,
	finish_enum):  Handle TYPE_IS_OLD_TAG.
	
	* c-decl.c (pushdecl, lookup_name, finish_enum):  Use new
	track_declarations global.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/c-decl.c.diff?cvsroot=gcc&only_with_tag=compile-server-branch&r1=1.417.2.7&r2=1.417.2.8
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&only_with_tag=compile-server-branch&r1=2.618.2.61&r2=2.618.2.62



More information about the Gcc-cvs mailing list