Go to file
Mark Mitchell 92643fea93 Compute DECL_ASSEMBLER_NAME lazily.
* tree.h (DECL_ASSEMBLER_NAME): Compute it lazily.
	(DECL_ASSEMBLER_NAME_SET_P): New macro.
	(SET_DECL_ASSEMBLER_NAME): Likewise.
	(COPY_DECL_ASSEMBLER_NAME): Likewise.
	(set_decl_assembler_name): Declare.
	(lang_set_decl_assembler_name): Likewise.
	* tree.c (lang_set_decl_assembler_name): New variab.e
	(set_decl_assembler_name): New function.
	(init_obstacks): Set lang_set_decl_assembler_name.
	(build_decl): Don't set DECL_ASSEMBLER_NAME.
	* c-decl.c (duplicate_decls): Use SET_DECL_ASSEMBLER_NAME,
	COPY_DECL_ASSEMBLER_NAME, etc.  Don't set DECL_ASSEMBLER_NAME
	where it's not necessary.
	(builtin_function): Likewise.
	(finish_decl): Likewise.
	* dbxout.c (dbxout_type_methods): Likewise.
	* ggc-common.c (ggc_mark_trees): Likewise.
	* profile.c (output_func_start_profiler): Likewise.
	* varasm.c (make_decl_rtl): Likewise.

	* class.c (get_vtable_decl): Use SET_DECL_ASSEMBLER_NAME,
	COPY_DECL_ASSEMBLER_NAME, etc.  Don't set DECL_ASSEMBLER_NAME
	where it's not necessary.
	(add_method): Remove optimization involving comparison of
	DECL_ASSEMBLER_NAME.
	(build_vtbl_or_vbase_field): Use SET_DECL_ASSEMBLER_NAME,
	COPY_DECL_ASSEMBLER_NAME, etc.  Don't set DECL_ASSEMBLER_NAME
	where it's not necessary.
	(check_methods): Likewise.
	(build_clone): Likewise.
	(built_vtt): Likewise.
	* cp-tree.h (DECL_NEEDED_P): Likewise.
	* decl.c (pushtag): Likewise.
	(duplicate_decls): Likewise.
	(pushdecl): Likewise.
	(builtin_function): Likewise.
	(build_library_fn_1): Set DECL_LANGUAGE for library functions.
	(build_cp_library_fn): Likewise.
	(maybe_commonize_var): Use SET_DECL_ASSEMBLER_NAME,
	COPY_DECL_ASSEMBLER_NAME, etc.  Don't set DECL_ASSEMBLER_NAME
	where it's not necessary.
	(make_rtl_for_nonlocal_decl): Likewise.
	(cp_finish_decl): Likewise.
	(grokfndecl): Likewise.
	(grokvardecl): Likewise.
	(grokdeclarator): Likewise.
	(start_function): Likewise.
	(cp_missing_return_ok_p): Likewise.
	* decl2.c (grokclassfn): Likewise.
	(check_classfn): Likewise.
	(finish_static_data_member_decl): Likewise.
	(grokfield): Likewise.
	* error.c (GLOBAL_IORD_P): Remove.
	(dump_global_iord): Improve output.
	(dump_decl): Avoid using DECL_ASSEMBLER_NAME.
	* except.c (nothrow_libfn_p): Summarily reject any function not in
	namespace-scope.
	* init.c (build_java_class_ref): Don't explicitly set
	DECL_ASSEMBLER_NAME after calling mangle_decl.
	* mangle.c (mangle_decl_string): Handle extern "C" functions.
	(mangle_decl): Set the DECL_ASSEMBLER_NAME for the decl.
	* method.c (set_mangled_name_for_decl): Don't explicitly set
	DECL_ASSEMBLER_NAME after calling mangle_decl.
	(make_thunk): Explicitly set the DECL_ASSEMBLER_NAME and
	IDENTIFIER_GLOBAL_VALUE for the thunk.
	* pt.c (set_mangled_name_for_template_decl): Remove.
	(check_explicit_specialization): Don't use it.
	(looup_template_class): Don't set DECL_ASSEMBLER_NAME.
	(tsubst_friend_function): Likewise.
	(tsubst_decl): Likewise.
	(regenerate_decl_from_template): Use COPY_DECL_ASSEMBLER_NAME.
	* rtti.c (get_tinfo_decl): Use SET_DECL_ASSEMBLER_NAME,
	COPY_DECL_ASSEMBLER_NAME, etc.  Don't set DECL_ASSEMBLER_NAME
	where it's not necessary.
	(tinfo_base_init): Likewise.
	(create_real_tinfo_var): Likewise.
	* search.c (looup_field_1): Likewise.
	* semantics.c (finish_named_return_value): Likewise.
	* tree.c (init_tree): Set lang_set_decl_assembler_name.

	* com.c (builtin_function): Use SET_DECL_ASSEMBLER_NAME.

	* class.c (build_class_ref): Use SET_DECL_ASSEMBLER_NAME.
	(layout_class): Likewise.
	(layout_class_method): Likewise.
	(emit_register_classes): Likewise.
	* decl.c (builtin_function): Likewise.
	(give_name_to_locals): Likewise.

From-SVN: r40642
2001-03-19 23:50:04 +00:00
boehm-gc Makefile.in: Rebuilt. 2001-03-17 01:01:29 +00:00
config configure.in (target_makefile_frag): Use mt-alphaieee. 2001-01-27 22:59:00 -08:00
contrib texi2pod.pl: Handle "\,". 2001-01-24 19:47:47 +00:00
fastjar Makefile.in: Rebuilt. 2001-01-22 17:32:28 +00:00
gcc Compute DECL_ASSEMBLER_NAME lazily. 2001-03-19 23:50:04 +00:00
include Fix pathname. 2001-03-14 16:34:39 -05:00
INSTALL
libchill
libf2c Daily bump. 2001-03-19 08:16:39 +00:00
libffi Remove RCS ident strings to allow comparisions with multiple source checkouts to work 2001-03-02 22:21:24 +00:00
libiberty fix typo 2001-03-15 21:41:13 +00:00
libjava URLStreamHandler.java (parseURL): Fix bug which would "canonicalize" "../../xxx" to "/xxx". 2001-03-19 15:31:14 -08:00
libobjc * encoding.c (TYPE_MODE): Define. 2001-03-19 16:05:03 -05:00
libstdc++-v3 gen-num-limits.cc (signal_adapter): Overloaded to match signal_func with an unspecified argument list. 2001-03-16 06:58:58 +00:00
maintainer-scripts update_web_docs_libstdcxx: New script. 2001-03-19 01:40:04 +00:00
zlib
.cvsignore
ChangeLog * Makefile.in (DO_X): Quote nested quotes. 2001-03-19 19:12:04 +00:00
config-ml.in configure.in (target_libs): Remove libg++. 2001-02-20 00:57:54 +00:00
config.guess Add config suport for s390 2001-02-12 23:47:41 +00:00
config.if * config.if: Assume enable_libstdcxx_v3 is defined. 2001-02-05 11:02:20 +00:00
config.sub Add config suport for s390 2001-02-12 23:47:41 +00:00
configure * configure: Output host type to stdout, not stderr. 2001-02-06 20:03:16 -05:00
configure.in configure.in: Only use `lang_requires' for languages athat are actually enabled. 2001-03-10 00:20:21 +00:00
COPYING
COPYING.LIB COPYING.LIB: Update to LGPL 2.1 from the FSF. 2001-01-29 13:32:47 +00:00
install-sh
libtool.m4 ltcf-gcj.sh (lt_simple_link_test_code): Remove stray `(0)'. 2001-01-24 02:24:50 +00:00
ltcf-c.sh ltcf-c.sh: Add support for --no-undefined under GNU/Linux. 2001-02-06 05:52:33 +00:00
ltcf-cxx.sh ltcf-c.sh: Add support for --no-undefined under GNU/Linux. 2001-02-06 05:52:33 +00:00
ltcf-gcj.sh ltcf-c.sh (ld_shlibs): Disable on unknown CPU types. 2001-01-27 19:12:14 +00:00
ltconfig * ltconfig: Shell portability fix for the tagname validity check. 2001-01-27 19:48:46 +00:00
ltmain.sh ltmain.sh (TAG disable-shared, [...]): Make sure we keep at least one of build_libtool_libs or build_old_libs set to yes. 2001-01-24 20:08:50 +00:00
MAINTAINERS Add alan@linuxcare.com.au 2001-03-18 22:13:37 +10:30
Makefile.in * Makefile.in (DO_X): Quote nested quotes. 2001-03-19 19:12:04 +00:00
missing
mkdep
mkinstalldirs
move-if-change
README
symlink-tree
ylwrap

		   README for GNU development tools

This directory contains various GNU compilers, assemblers, linkers, 
debuggers, etc., plus their support routines, definitions, and documentation.


Check the INSTALL directory for detailed configuration and installation
instructions.


Much of the code and documentation enclosed is copyright by
the Free Software Foundation, Inc.  See the file COPYING or
COPYING.LIB in the various directories, for a description of the
GNU General Public License terms under which you can copy the files.

REPORTING BUGS: Again, see gdb/README, binutils/README, etc., for info
on where and how to report problems.