Go to file
Gabriel Dos Reis af6fd53f5a Compile-time improvement: 2/n.
* cp-tree.h (struct cxx_binding): New datatype;
	(struct lang_identifier): Use it.
	(LOCAL_BINDING_P): Adjust definition.
	(INHERITED_VALUE_BINDING_P): Likewise.
	(BINDING_SCOPE): Likewise.
	(BINDING_HAS_LEVEL_P): Likewise.
	(BINDING_VALUE): Likewise.
	(BINDING_TYPE): Likewise.
	(IDENTIFIER_VALUE): Likewise.
	(struct tree_binding): Remove.
	(TS_CP_BINDING): Likewise.
	((union lang_tree_node): Remove field "binding".
	(cxx_binding_clear): New macro.
	(binding_for_name): Adjust return type.
	(qualified_lookup_using_namespace): Adjust prototype.
	(lookup_using_namespace): Adjust prototype.
	(cxx_scope_find_binding_for_name): Declare.
	* cp-tree.def: Remove CPLUS_BINDING definition.
	* parse.y (parse_scoped_id): Don't type-abuse of 'id'.  Allocate
	temporary cxx_binding on stack.  Simplify.
	* decl.c (push_binding): Adjust local variable type.
	(add_binding): Likewise.
	(push_class_binding): Likewise.
	(pop_binding): Likewise.
	(poplevel): Likewise.
	(poplevel_class): Likewise.
	(free_bindings):  Adjust type.
	(find_binding): Adjust return type, add a third parameter. Remove
	non-useful assertion now that we use static typing.
	(cxx_scope_find_binding_for_name): New function.
	(binding_for_name): Use it.  Adjust local variable type. Simplify.
	(namespace_binding):  Simplify.
	(set_namespace_binding): Likewise.
	(set_identifier_type_value_with_scope): Adjust local variable type.
	(lookup_tag): Don't type-abuse of local variable 'old'.
	(lookup_namespace_name): Likewise.  Allocate binding on stack.
	(select_decl): Adjust prototype.
	(unqualified_namespace_lookup):  Allocate binding on stack.
	Don't type-abuse of local variable 'val'.
	(lookup_name_real): Likewise.
	(maybe_inject_for_scope_var): Adjust local variable type.
	(cp_tree_node_structure): Remove CPLUS_BINDING case label.
	(namespace_binding): Adjust logic, simplify.
	(BINDING_LEVEL): Adjust definition.
	(push_class_level_binding): Adjust local variable type.
	(struct cxx_saved_binding): Adjust field 'binding' type.
	* decl2.c (ambiguous_decl): Adjust prototype.
	(lookup_using_namespace): Adjust local variable type.
	(qualified_lookup_using_namespace): Catch type error and correct
	ensueing logic error.
	(do_nonmember_using_decl): Adjust local variable type.  Allocate
	temporary cxx_binding on stack.
	(do_toplevel_using_decl): Adjust local variable type.
	* ptree.c (cxx_print_cxx_binding): New function.
	(cxx_print_identifier): Use it.
	(cxx_print_xnode): Delete CPLUS_BINDING case label.

From-SVN: r64405
2003-03-15 16:30:02 +00:00
boehm-gc configure.in: Avoid trailing /. 2003-03-12 21:34:31 +00:00
config configure.in: Replace ${libstdcxx_version} by its value. 2003-03-04 07:23:56 +00:00
contrib test_summary: Add -h, print existing comments as help. 2003-03-09 01:33:00 +00:00
fastjar dostime.c: add #include <stddef.h> for definition of NULL 2003-03-10 19:52:15 +00:00
gcc Compile-time improvement: 2/n. 2003-03-15 16:30:02 +00:00
include * libiberty.h: Document return value of physmem routines. 2003-02-27 20:28:40 +00:00
INSTALL
libf2c configure.in: Avoid trailing /. 2003-03-12 21:34:31 +00:00
libffi configure.in: Avoid trailing /. 2003-03-12 21:34:31 +00:00
libiberty * hashtab.c (htab_expand): Fix warning. 2003-03-12 16:43:21 +00:00
libjava * java/lang/natObject.cc (JV_SYNC_HASH): replace signed % by &. 2003-03-15 01:04:08 +00:00
libobjc configure.in: Avoid trailing /. 2003-03-12 21:34:31 +00:00
libstdc++-v3 [multiple changes] 2003-03-15 04:53:52 +00:00
maintainer-scripts
zlib configure.in: Avoid trailing /. 2003-03-12 21:34:31 +00:00
.cvsignore
ChangeLog Makefile.tpl: Move .NOEXPORT, MAKEOVERRIDES back down. 2003-03-14 20:44:37 +00:00
config-ml.in
config.guess
config.if
config.sub
configure Makefile.tpl: Move .NOEXPORT, MAKEOVERRIDES up. 2003-03-12 20:41:00 +00:00
configure.in Makefile.tpl: Move .NOEXPORT, MAKEOVERRIDES up. 2003-03-12 20:41:00 +00:00
COPYING
COPYING.LIB
install-sh
libtool.m4
ltcf-c.sh
ltcf-cxx.sh
ltcf-gcj.sh
ltconfig
ltmain.sh
MAINTAINERS * MAINTAINERS (Write After Approval): Add myself. 2003-03-12 13:58:36 +01:00
Makefile.def
Makefile.in Makefile.tpl: Move .NOEXPORT, MAKEOVERRIDES back down. 2003-03-14 20:44:37 +00:00
Makefile.tpl Makefile.tpl: Move .NOEXPORT, MAKEOVERRIDES back down. 2003-03-14 20:44:37 +00:00
missing
mkdep
mkinstalldirs
move-if-change
README
symlink-tree
ylwrap

This directory contains the GNU Compiler Collection (GCC).

The GNU Compiler Collection is free software.  See the file COPYING
for copying permission.  The manuals, and some of the runtime
libraries, are under different terms; see the individual source files
for details.

The directory INSTALL contains copies of the installation information
as HTML and plain text.  The source of this information is
gcc/doc/install.texi.  The installation information includes details
of what is included in the GCC sources and what files GCC installs.

See the file gcc/doc/gcc.texi (together with other files that it
includes) for usage and porting information.  An online readable
version of the manual is in the files gcc/doc/gcc.info*.

See http://gcc.gnu.org/bugs.html for how to report bugs usefully.