gcc/gcc ChangeLog Makefile.in c-common.h c-dec ...
geoffk@gcc.gnu.org
geoffk@gcc.gnu.org
Wed May 8 15:38:00 GMT 2002
CVSROOT: /cvs/gcc
Module name: gcc
Branch: pch-branch
Changes by: geoffk@gcc.gnu.org 2002-05-08 15:38:56
Modified files:
gcc : ChangeLog Makefile.in c-common.h c-decl.c
c-lang.c c-tree.h dwarf2out.c gengtype-lex.l
gengtype-yacc.y gengtype.c ggc-common.c ggc.h
hashtable.h langhooks-def.h langhooks.h
sdbout.c system.h tree.c tree.h
gcc/ada : ChangeLog ada-tree.h misc.c trans.c
gcc/cp : ChangeLog Make-lang.in call.c cp-lang.c
cp-tree.h decl.c tree.c
gcc/f : ChangeLog Make-lang.in com.c
gcc/java : ChangeLog Make-lang.in java-tree.h lang.c
parse.y
gcc/objc : objc-lang.c
Log message:
Index: ChangeLog
2002-05-08 Geoffrey Keating <geoffk@redhat.com>
* Makefile.in (stringpool.o): Add $(GGC_H).
(dwarf2asm.o): Likewise.
(GTFILES): Add hashtable.h.
* c-common.h (struct c_common_identifier): Use gengtype.
* c-decl.h (c_mark_tree): Delete.
* c-lang.c (LANG_HOOKS_MARK_TREE): Delete.
* c-tree.h (struct lang_identifier): Use gengtype.
(union lang_tree_node): New.
(c_mark_tree): Delete prototype.
* dwarf2out.c [!DWARF2_DEBUGGING_INFO]: Define dummy
dwarf2_debug_hooks.
* gengtype-lex.l (IWORD): Allow 'bool'.
(ptr_alias): Match.
* gengtype-yacc.y (ALIAS): New token.
(type_option): New rule.
(option): Use type_option.
* gengtype.c (process_gc_options): New.
(set_gc_used_type): Use it.
(write_gc_structure_fields): Add 'bitmap' parameter, change callers.
Add new variable 't' to hold the type of the field being processed.
Add more error checking. Use UNION_P when looking at 'desc' option.
Handle language-specific structures containing other
language-specific structures.
(write_gc_types): Handle 'ptr_alias' option.
(main): Don't need to specially output lang_type, lang_decl, lang_id2.
* ggc-common.c (ggc_pending_trees): Delete.
(ggc_mark_roots): Don't manipulate ggc_pending_trees.
(ggc_mark_trees): Delete.
(gt_ggc_m_tree_node): Delete.
* ggc.h (ggc_pending_trees): Delete.
(ggc_mark_tree): Make alias of gt_ggc_m_tree_node.
* hashtable.h (ht_identifier): Use gengtype.
* langhooks-def.h (LANG_HOOKS_MARK_TREE): Delete.
* langhooks.h (struct lang_hooks): Delete mark_tree.
* sdbout.c [! SDB_DEBUGGING_INFO]: Define dummy sdb_debug_hooks
anyway.
* system.h: Poison LANG_HOOKS_MARK_TREE.
* tree.c (tree_node_structure): New.
* tree.h (struct tree_common): Use gengtype.
(struct tree_int_cst): Likewise.
(struct tree_real_cst): Likewise.
(struct tree_string): Likewise.
(struct tree_complex): Likewise.
(struct tree_vector): Likewise.
(struct tree_identifier): Likewise.
(struct tree_list): Likewise.
(struct tree_vec): Likewise.
(struct tree_exp): Likewise.
(struct tree_block): Likewise.
(struct tree_type): Likewise.
(struct tree_decl): Likewise.
(enum tree_structure_enum): New.
(union tree_node): Use gengtype, with an alias.
(tree_node_structure): Prototype.
* objc/objc-lang.c (LANG_HOOKS_MARK_TREE): Delete.
Index: ada/ChangeLog
2002-05-08 Geoffrey Keating <geoffk@redhat.com>
* ada-tree.h: Update all macros for new tree description.
(struct tree_loop_id): New.
(union lang_tree_node): New.
(struct lang_decl): New.
(struct lang_type): New.
* misc.c (gnat_mark_tree): Delete.
(LANG_HOOKS_MARK_TREE): Delete.
* trans.c (tree_transform): No longer any need to cast
for TREE_LOOP_ID.
Index: cp/ChangeLog
2002-05-08 Geoffrey Keating <geoffk@redhat.com>
* Make-lang.in (cp/decl.o): Add debug.h dependency.
* call.c (struct z_candidate): Use gengtype.
(USER_CONV_CAND): Use WRAPPER_ZC.
(convert_class_to_reference): Use build_zc_wrapper.
(build_type_conversion_1): Likewise.
(build_over_call): Use WRAPPER_ZC.
(add_warning): Use build_zc_wrapper.
* cp-lang.c (LANG_HOOKS_MARK_TREE): Delete.
* cp-tree.h (struct lang_identifier): Use gengtype.
(struct template_parm_index_s): Likewise.
(struct ptrmem_cst): Likewise.
(struct tree_binding): Likewise.
(struct tree_overload): Likewise.
(struct tree_srcloc): Likewise.
(struct tree_wrapper): Likewise. Also modify to have a pointer
to struct z_candidate rather than void.
(enum cp_tree_node_structure_enum): New.
(union lang_tree_node): New.
(cxx_mark_tree): Delete prototype.
(cp_tree_node_structure): New prototype.
(build_ptr_wrapper): Delete prototype.
(build_int_wrapper): Delete prototype.
(build_zc_wrapper): New prototype.
* decl.c: Include debug.h
(cxx_mark_tree): Delete.
(cp_tree_node_structure): New.
* tree.c (build_ptr_wrapper): Delete.
(build_int_wrapper): Delete.
(build_zc_wrapper): New.
Index: f/ChangeLog
Wed May 8 01:57:25 2002 Geoffrey Keating <geoffk@redhat.com>
* Make-lang.in (f/com.o): Depend on debug.h.
* com.c: Include debug.h.
(LANG_HOOKS_MARK_TREE): Delete.
(struct lang_identifier): Use gengtype.
(union lang_tree_node): New.
(struct lang_decl): New dummy definition.
(struct lang_type): New dummy definition.
(ffe_mark_tree): Delete.
Index: java/ChangeLog
2002-05-08 Geoffrey Keating <geoffk@redhat.com>
* Make-lang.in (java/parse.o): Depend on debug.h.
* java-tree.h (struct lang_identifier): Use gengtype.
(union lang_tree_node): New.
(struct lang_decl_func): Use gengtype.
(struct lang_decl_var): Likewise.
(struct lang_decl): Likewise.
* parse.y: Include debug.h.
* lang.c (LANG_HOOKS_MARK_TREE): Delete.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&only_with_tag=pch-branch&r1=1.12690.2.33&r2=1.12690.2.34
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/Makefile.in.diff?cvsroot=gcc&only_with_tag=pch-branch&r1=1.822.2.12&r2=1.822.2.13
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/c-common.h.diff?cvsroot=gcc&only_with_tag=pch-branch&r1=1.112.4.7&r2=1.112.4.8
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/c-decl.c.diff?cvsroot=gcc&only_with_tag=pch-branch&r1=1.288.2.10&r2=1.288.2.11
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/c-lang.c.diff?cvsroot=gcc&only_with_tag=pch-branch&r1=1.74.4.3&r2=1.74.4.4
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/c-tree.h.diff?cvsroot=gcc&only_with_tag=pch-branch&r1=1.80.2.7&r2=1.80.2.8
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/dwarf2out.c.diff?cvsroot=gcc&only_with_tag=pch-branch&r1=1.349.2.4&r2=1.349.2.5
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.6&r2=1.1.2.7
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.7&r2=1.1.2.8
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/gengtype.c.diff?cvsroot=gcc&only_with_tag=pch-branch&r1=1.1.2.14&r2=1.1.2.15
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.10&r2=1.46.4.11
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ggc.h.diff?cvsroot=gcc&only_with_tag=pch-branch&r1=1.39.6.11&r2=1.39.6.12
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/hashtable.h.diff?cvsroot=gcc&only_with_tag=pch-branch&r1=1.2&r2=1.2.12.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/langhooks-def.h.diff?cvsroot=gcc&only_with_tag=pch-branch&r1=1.8.6.2&r2=1.8.6.3
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/langhooks.h.diff?cvsroot=gcc&only_with_tag=pch-branch&r1=1.15.6.2&r2=1.15.6.3
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/sdbout.c.diff?cvsroot=gcc&only_with_tag=pch-branch&r1=1.64.2.4&r2=1.64.2.5
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/system.h.diff?cvsroot=gcc&only_with_tag=pch-branch&r1=1.113.2.6&r2=1.113.2.7
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree.c.diff?cvsroot=gcc&only_with_tag=pch-branch&r1=1.230.2.6&r2=1.230.2.7
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree.h.diff?cvsroot=gcc&only_with_tag=pch-branch&r1=1.299.2.8&r2=1.299.2.9
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ada/ChangeLog.diff?cvsroot=gcc&only_with_tag=pch-branch&r1=1.194.6.6&r2=1.194.6.7
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ada/ada-tree.h.diff?cvsroot=gcc&only_with_tag=pch-branch&r1=1.1.14.2&r2=1.1.14.3
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ada/misc.c.diff?cvsroot=gcc&only_with_tag=pch-branch&r1=1.17.8.2&r2=1.17.8.3
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ada/trans.c.diff?cvsroot=gcc&only_with_tag=pch-branch&r1=1.10.8.4&r2=1.10.8.5
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcc&only_with_tag=pch-branch&r1=1.2639.2.11&r2=1.2639.2.12
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/Make-lang.in.diff?cvsroot=gcc&only_with_tag=pch-branch&r1=1.103.6.6&r2=1.103.6.7
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/call.c.diff?cvsroot=gcc&only_with_tag=pch-branch&r1=1.304.2.4&r2=1.304.2.5
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/cp-lang.c.diff?cvsroot=gcc&only_with_tag=pch-branch&r1=1.9.8.2&r2=1.9.8.3
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/cp-tree.h.diff?cvsroot=gcc&only_with_tag=pch-branch&r1=1.671.2.8&r2=1.671.2.9
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/decl.c.diff?cvsroot=gcc&only_with_tag=pch-branch&r1=1.847.2.10&r2=1.847.2.11
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/tree.c.diff?cvsroot=gcc&only_with_tag=pch-branch&r1=1.264.6.4&r2=1.264.6.5
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/f/ChangeLog.diff?cvsroot=gcc&only_with_tag=pch-branch&r1=1.417.4.6&r2=1.417.4.7
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/f/Make-lang.in.diff?cvsroot=gcc&only_with_tag=pch-branch&r1=1.104.6.4&r2=1.104.6.5
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/f/com.c.diff?cvsroot=gcc&only_with_tag=pch-branch&r1=1.148.6.6&r2=1.148.6.7
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/java/ChangeLog.diff?cvsroot=gcc&only_with_tag=pch-branch&r1=1.903.2.8&r2=1.903.2.9
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/java/Make-lang.in.diff?cvsroot=gcc&only_with_tag=pch-branch&r1=1.78.6.5&r2=1.78.6.6
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/java/java-tree.h.diff?cvsroot=gcc&only_with_tag=pch-branch&r1=1.133.6.5&r2=1.133.6.6
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/java/lang.c.diff?cvsroot=gcc&only_with_tag=pch-branch&r1=1.84.6.4&r2=1.84.6.5
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/java/parse.y.diff?cvsroot=gcc&only_with_tag=pch-branch&r1=1.343.6.4&r2=1.343.6.5
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/objc/objc-lang.c.diff?cvsroot=gcc&only_with_tag=pch-branch&r1=1.2.10.3&r2=1.2.10.4
More information about the Gcc-cvs
mailing list