gcc gcc/ChangeLog gcc/Makefile.in gcc/dwarf2as ...

geoffk@gcc.gnu.org geoffk@gcc.gnu.org
Thu Jul 18 10:35:00 GMT 2002


CVSROOT:	/cvs/gcc
Module name:	gcc
Branch: 	pch-branch
Changes by:	geoffk@gcc.gnu.org	2002-07-18 10:35:39

Modified files:
	gcc            : ChangeLog Makefile.in dwarf2asm.c dwarf2out.c 
	                 gengtype-lex.l gengtype-yacc.y gengtype.c 
	                 gengtype.h ggc-common.c ggc.h 
	gcc/config/alpha: alpha.c 
	gcc/doc        : gty.texi 
	include        : ChangeLog splay-tree.h 

Log message:
	Index: gcc/ChangeLog
	2002-07-17  Geoffrey Keating  <geoffk@redhat.com>
	
	* gengtype.h (NUM_PARAM): New definition.
	(struct type): For TYPE_PARAM_STRUCT, allow multiple parameters.
	* gengtype.c (find_param_structure): New.
	(adjust_field_type): Handle param<n>_is option.
	(process_gc_options): Detect use_params option.  Update callers.
	(set_gc_used_type): Add 'param' parameter, update callers.  Handle
	'use_params' option.
	(open_base_files): Add splay-tree.h to list of files included.
	(output_mangled_typename): New.
	(write_gc_structure_fields): Update 'param' parameter to support
	multiple parameters.  Change name mangling.  Allow parameterized
	fields to have an apparent scalar type.  Handle param<n>_is options,
	use_param option.
	(write_gc_marker_routine_for_structure): Update for change to name
	mangling.  Better guess the output file for parameterized types.
	(write_gc_types): Update for change to name mangling.
	(write_gc_root): Update for change to name mangling.  Handle (ignore)
	param<n>_is options.
	* doc/gty.texi (GTY Options): Add description of param<n>_is
	options, use_params option.
	* config/alpha/alpha.c (struct alpha_links): Use gengtype to mark;
	move out of ifdef.
	(alpha_links): Use gengtype to mark; move out of ifdef.
	(mark_alpha_links_node): Delete.
	(mark_alpha_links): Delete.
	(alpha_need_linkage): Use GGC to allocate splay tree, struct
	alpha_links, strings.  Don't use ggc_add_root.
	* ggc-common.c (ggc_splay_alloc): New.
	(ggc_splay_dont_free): New.
	* ggc.h (ggc_mark_rtx): Update for changed name mangling.
	(ggc_mark_tree): Likewise.
	(splay_tree_new_ggc): New.
	(ggc_splay_alloc): Declare.
	(ggc_splay_dont_free): Declare.
	* gengtype-lex.l: Produce token for param<n>_is.
	* gengtype-yacc.y: Parse param<n>_is.
	* dwarf2asm.c: Include gt-dwarf2asm.h.
	(mark_indirect_pool_entry): Delete.
	(mark_indirect_pool): Delete.
	(indirect_pool): Use gengtype to mark.
	(dw2_force_const_mem): Don't use ggc_add_root.
	* Makefile.in (dwarf2asm.o): Depend on gt-dwarf2asm.h.
	(GTFILES): Add SPLAY_TREE_H, dwarf2asm.c.
	(gt-dwarf2asm.h): Depend on s-gtype.
	
	Index: include/ChangeLog
	2002-07-17  Geoffrey Keating  <geoffk@redhat.com>
	
	* splay-tree.h (GTY): Define if undefined.
	(splay_tree_allocate_fn): Return PTR for compatibility, not void *.
	(struct splay_tree_node_s): Support gengtype.
	(struct splay_tree_s): Likewise.  Make allocate_data a PTR,
	not a void *.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&only_with_tag=pch-branch&r1=1.12690.2.56&r2=1.12690.2.57
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/Makefile.in.diff?cvsroot=gcc&only_with_tag=pch-branch&r1=1.822.2.25&r2=1.822.2.26
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/dwarf2asm.c.diff?cvsroot=gcc&only_with_tag=pch-branch&r1=1.24.4.3&r2=1.24.4.4
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/dwarf2out.c.diff?cvsroot=gcc&only_with_tag=pch-branch&r1=1.349.2.9&r2=1.349.2.10
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.10&r2=1.1.2.11
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.12&r2=1.1.2.13
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/gengtype.c.diff?cvsroot=gcc&only_with_tag=pch-branch&r1=1.1.2.28&r2=1.1.2.29
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/gengtype.h.diff?cvsroot=gcc&only_with_tag=pch-branch&r1=1.1.2.12&r2=1.1.2.13
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ggc-common.c.diff?cvsroot=gcc&only_with_tag=pch-branch&r1=1.46.4.19&r2=1.46.4.20
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ggc.h.diff?cvsroot=gcc&only_with_tag=pch-branch&r1=1.39.6.19&r2=1.39.6.20
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/alpha/alpha.c.diff?cvsroot=gcc&only_with_tag=pch-branch&r1=1.224.2.8&r2=1.224.2.9
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/doc/gty.texi.diff?cvsroot=gcc&only_with_tag=pch-branch&r1=1.1.2.4&r2=1.1.2.5
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/include/ChangeLog.diff?cvsroot=gcc&only_with_tag=pch-branch&r1=1.103.4.6&r2=1.103.4.7
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/include/splay-tree.h.diff?cvsroot=gcc&only_with_tag=pch-branch&r1=1.15.12.1&r2=1.15.12.2



More information about the Gcc-cvs mailing list