gcc/gcc Makefile.in cp/cp-tree.h cp/decl.c cp/ ...
austern@gcc.gnu.org
austern@gcc.gnu.org
Tue Mar 9 00:41:00 GMT 2004
CVSROOT: /cvs/gcc
Module name: gcc
Branch: stree-branch
Changes by: austern@gcc.gnu.org 2004-03-09 00:41:54
Modified files:
gcc : Makefile.in
gcc/cp : cp-tree.h decl.c name-lookup.c name-lookup.h
Added files:
gcc : ChangeLog.stree stree.c stree.h
gcc/cp : ChangeLog.stree
Log message:
* ChangeLog.stree: New.
* Makefile.in: Add stree.[ch] to the build.
* stree.c: New.
* stree.h: New.
* cp/ChangeLog.stree: New.
* cp/cp-tree.h (IDENTIFIER_VALUE): Go through binding_value_tree
instead of using value field directly.
* cp/decl.c (poplevel): Fix handling of shadowed declarations.
(enum_data): New static variable, enumeration currently being built.
(start_enum): Initialize enum_data.
(finish_enum): Use enum_data for computing the underlying type.
(s_tree_to_tree): New function.
(build_enumerator): Update enum_data. For simple cases build an
s-tree instead of a full tree decl.
* cp/name-lookup.h (cxx_binding): Change value field to be an
s_tree_i_or_tree tagged union.
(binding_value_tree): Return tree version of value field, creating
it from an stree if necessary.
(push_s_decl): New. Similar to pushdecl, but for stree decls.
Fall back to pushdecl in complicated cases.
* cp/name-lookup.c (cxx_binding_make): Take account of the fact that
value field is no longer a simple tree pointer.
(pop_binding): Ditto.
(supplement_binding): Ditto.
(push_local_binding): Ditto.
(maybe_inject_for_scope_var): Ditto.
(set_identifier_type_value_with_scope): Ditto.
(push_overloaded_decl): Ditto.
(do_nonmember_using_decl): Ditto.
(lookup_tag): Ditto.
(poplevel_class): Ditto.
(push_class_binding): Ditto.
(push_class_binding): Ditto.
(push_class_level_binding): Ditto.
(namespace_binding): Ditto.
(set_namespace_binding): Ditto.
(do_toplevel_using_decl): Ditto.
(ambiguous_decl): Ditto.
(lookup_namespace_name): Ditto.
(unqualified_namespace_lookup): Ditto.
(lookup_qualified_name): Ditto.
(qualified_lookup_using_namespace): Ditto.
(lookup_name_real): Ditto.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.stree.diff?cvsroot=gcc&only_with_tag=stree-branch&r1=NONE&r2=1.1.2.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/stree.c.diff?cvsroot=gcc&only_with_tag=stree-branch&r1=NONE&r2=1.1.2.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/stree.h.diff?cvsroot=gcc&only_with_tag=stree-branch&r1=NONE&r2=1.1.2.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/Makefile.in.diff?cvsroot=gcc&only_with_tag=stree-branch&r1=1.1260&r2=1.1260.2.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.stree.diff?cvsroot=gcc&only_with_tag=stree-branch&r1=NONE&r2=1.1.2.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/cp-tree.h.diff?cvsroot=gcc&only_with_tag=stree-branch&r1=1.954&r2=1.954.2.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/decl.c.diff?cvsroot=gcc&only_with_tag=stree-branch&r1=1.1191&r2=1.1191.2.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/name-lookup.c.diff?cvsroot=gcc&only_with_tag=stree-branch&r1=1.42&r2=1.42.2.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/name-lookup.h.diff?cvsroot=gcc&only_with_tag=stree-branch&r1=1.18&r2=1.18.2.1
More information about the Gcc-cvs
mailing list