gcc/gcc ChangeLog gengtype-lex.l gengtype-yacc ...

geoffk@gcc.gnu.org geoffk@gcc.gnu.org
Fri May 3 11:02:00 GMT 2002


CVSROOT:	/cvs/gcc
Module name:	gcc
Branch: 	pch-branch
Changes by:	geoffk@gcc.gnu.org	2002-05-03 11:02:25

Modified files:
	gcc            : ChangeLog gengtype-lex.l gengtype-yacc.y 
	                 gengtype.c gengtype.h ggc.h 

Log message:
	* gengtype.h (enum typekind): Add TYPE_LANG_STRUCT.
	(lang_bitmap): New typedef.  Use where appropriate.
	(struct type): Add gc_used field, lang_struct field.
	(UNION_P): New macro.
	(new_structure): New prototype.
	(find_structure): Remove 'pos' parameter.  Change all callers.
	* gengtype-lex.l: Update for changes to find_structure.
	* gengtype-yacc.y (typedef_struct): Use new_structure.
	(yacc_ids): Suppress warning.
	(type): Use new_structure.
	* gengtype.c (string_type): Update for changes to struct type.
	(find_structure): Just find a structure, don't worry about
	creating one.
	(new_structure): New.
	(note_yacc_type): Use new_structure.
	(set_gc_used_type): New.
	(set_gc_used): New.
	(write_gc_structure_fields): Allow for pointers to TYPE_LANG_STRUCT.
	(write_gc_types): Handle TYPE_LANG_STRUCT.
	(write_gc_marker_routine_for_structure): New.
	(main): Call set_gc_used.  Add some calls to set_gc_used_type
	for places where GCC doesn't use gengtype properly yet.
	* ggc.h (gt_ggc_m_rtx_def): Don't prototype.
	(gt_ggc_m_tree_node): Likewise.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&only_with_tag=pch-branch&r1=1.12690.2.29&r2=1.12690.2.30
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/gengtype-lex.l.diff?cvsroot=gcc&only_with_tag=pch-branch&r1=1.1.2.5&r2=1.1.2.6
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/gengtype-yacc.y.diff?cvsroot=gcc&only_with_tag=pch-branch&r1=1.1.2.6&r2=1.1.2.7
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/gengtype.c.diff?cvsroot=gcc&only_with_tag=pch-branch&r1=1.1.2.10&r2=1.1.2.11
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/gengtype.h.diff?cvsroot=gcc&only_with_tag=pch-branch&r1=1.1.2.5&r2=1.1.2.6
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ggc.h.diff?cvsroot=gcc&only_with_tag=pch-branch&r1=1.39.6.9&r2=1.39.6.10



More information about the Gcc-cvs mailing list