Go to file
Mark Mitchell 31f8e4f306 cp-tree.h (BV_USE_VCALL_INDEX_P): New macro.
* cp-tree.h (BV_USE_VCALL_INDEX_P): New macro.
	(BV_GENERATE_THUNK_WITH_VTABLE_P): Likewise.
	(lang_decl_flags): Add generate_with_vtable_p.  Make vcall_offset
	a tree, not an int.
	(THUNK_GENERATE_WITH_VTABLE_P): New macro.
	(make_thunk): Change prototype.
	(emit_thunk): Rename to use_thunk.
	(mangle_thunk): Change prototype.
	* class.c (get_derived_offset): Simplify.
	(copy_virtuals): Clear BV_USE_VCALL_INDEX_P and
	BV_GENERATE_THUNK_WITH_VTABLE_P.
	(build_primary_vtable): Simplify.
	(add_virtual_function): Use BV_FN, rather than TREE_VALUE.
	(dfs_find_base): Remove.
	(update_vtable_entry_for_fn): Correct bug in finding the base
	where a virtual function was first declared.  Figure out whether
	or not to emit a vcall-thunk with the vtables in which it appears.
	Correct logic for deciding whether to use an ordinary thunk, or a
	vcall thunk.
	(finish_struct_1): Remove unnecssary code.
	(build_vtbl_initializer): Use ssize_int for the running counter of
	negative indices.
	(build_vtbl_initializer): Only use vcall thunks where necessary.
	Mark thunks as needing to be emitted with their vtables, or not.
	(build_vbase_offset_vtbl_entries): Adjust for use of ssize_int in
	indices.  Use size_binop.
	(dfs_build_vcall_offset_vtbl_entries): Don't rely on
	BINFO_PRIMARY_MARKED_P here.  Use BV_FN consistently.  Use
	size_binop.
	(build_rtti_vtbl_entries): Adjust call to build_vtable_entry.
	(build_vtable_entry): Mark thunks as needing to be emitted with
	their vtables, or not.
	* decl.c (lang_mark_tree): Mark the vcall_offset in a thunk.
	* decl2.c (mark_vtable_entries): Use use_thunk instead of
	emit_thunk.
	* dump.c (dequeue_and_dump): Remove dead code.  Dump new thunk
	information.
	* error.c (dump_expr): Use BV_FN.
	* mangle.c (mangle_thunk): Adjust now that vcall_offset is a tree,
	not an int.
	* method.c (make_thunk): Likewise.
	(emit_thunk): Rename to use_thunk.  Allow callers to decide
	whether or not to actually emit the thunk.  Adjust for changes in
	representation of vcall offsets.
	* search.c (dfs_get_pure_virtuals): Use BV_FN.
	* semantics.c (emit_associated_thunks): New function.
	(expand_body): Use it.
	* ir.texi: Adjust decriptions of thunks.

From-SVN: r34656
2000-06-23 01:14:40 +00:00
INSTALL
boehm-gc Imported version 5.1. 2000-06-20 02:04:58 +01:00
config mh-sparcpic: Use single instead of double quotes. 2000-06-21 16:22:41 -06:00
contrib * newcvsroot: Handle filenames that contain spaces. 2000-06-04 17:33:50 +00:00
etc
gcc cp-tree.h (BV_USE_VCALL_INDEX_P): New macro. 2000-06-23 01:14:40 +00:00
include configure.in (ac_libiberty_warn_cflags): Add -pedantic. 2000-06-07 21:13:14 +00:00
libchill Makefile.in (STROBJS): Get memmove.o from configure. 2000-05-31 16:54:07 -07:00
libf2c Daily bump. 2000-06-22 01:45:08 -06:00
libffi
libiberty cp-demangle.c (demangle_operator_name): Add spaces before names beginning with a letter... 2000-06-09 18:55:36 +00:00
libio Revert previous patch 2000-06-10 03:02:21 +00:00
libjava ThreadGroup.java (add(Thread)): Rename to addThread() to comply with classpath VM spec. 2000-06-21 04:55:35 +01:00
libobjc
libstdc++
libstdc++-v3 [multiple changes] 2000-06-22 23:59:04 +00:00
texinfo
zlib
.cvsignore
COPYING
COPYING.LIB
ChangeLog MAINTAINERS: Add self as Fortran maintainer, remove Craig Burley. 2000-06-11 15:27:10 +00:00
MAINTAINERS MAINTAINERS: Add self as Fortran maintainer, remove Craig Burley. 2000-06-11 15:27:10 +00:00
Makefile.in
README
config-ml.in
config.guess config.guess: Updated to latest version. 2000-06-05 23:23:43 +00:00
config.if
config.sub config.guess: Updated to latest version. 2000-06-05 23:23:43 +00:00
configure
configure.in
install-sh
ltconfig
ltmain.sh
missing
mkinstalldirs
move-if-change
symlink-tree
ylwrap

README

		   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.