diff options
author | Jan Hubicka <jh@suse.cz> | 2003-07-30 19:27:17 +0200 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2003-07-30 17:27:17 +0000 |
commit | a0c8285b03a452fcdf39e4d3db8d7710123584b0 (patch) | |
tree | 181f1593ae48087fad3a738850b5465caf5b57c3 /gcc/cp/decl2.c | |
parent | 1051c718b1be8473bacf4d7c65be3f7304116ddc (diff) | |
download | gcc-a0c8285b03a452fcdf39e4d3db8d7710123584b0.zip gcc-a0c8285b03a452fcdf39e4d3db8d7710123584b0.tar.gz gcc-a0c8285b03a452fcdf39e4d3db8d7710123584b0.tar.bz2 |
re PR c/10320 (gcc 3.4 gets rid of static inline function that does not get inlined)
* gcse.c (insert_store): Ignore fake edges.
* c-common.c (flag_vtable_gc): Kill.
* c-common.g (flag_vtable_gc): Kill.
* c-opts (c_common_handle_option): Kill.
* c.opt (fvtable-gc): Kill.
* final.c (final_scan_insn): Do not call assemble_vtable_entry.
* output.h (assemble_vtable_entry, assemble_vtable_inherit): Kill.
* varasm.c (assemble_vtable_entry, assemble_vtable_inherit): Kill.
* invoke.texi (-ftable-gc): Kill documentation.
PR C/10320
* tree-inline.c (inlinable_function_p): Don't set DECL_UNINLINABLE
just because function body is missing.
* i386.c (pic_symbolic_operand): Properly detect RIP relative unspecs.
* class.c (build_vtable_entry_ref): Kill.
(build_vtbl_ref_1): Do not call build_vtable_entry_ref.
(build_vfn_ref): Do not call build_vtable_entry_ref.
* cp-lang.c (LANG_HOOKS_PREPARE_ASSEMBLE_VARIABLE): Kill.
* cp-tree.h (prepare_assemble_variable): Kill.
* cp-decl.c (prepare_assemble_variable): Kill.
From-SVN: r69964
Diffstat (limited to 'gcc/cp/decl2.c')
-rw-r--r-- | gcc/cp/decl2.c | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/gcc/cp/decl2.c b/gcc/cp/decl2.c index 896282c..f89258c 100644 --- a/gcc/cp/decl2.c +++ b/gcc/cp/decl2.c @@ -1626,36 +1626,6 @@ import_export_class (tree ctype) CLASSTYPE_INTERFACE_ONLY (ctype) = (import_export < 0); } } - -/* We need to describe to the assembler the relationship between - a vtable and the vtable of the parent class. */ - -void -prepare_assemble_variable (tree vars) -{ - tree parent; - rtx child_rtx, parent_rtx; - - if (!flag_vtable_gc || TREE_CODE (vars) != VAR_DECL - || !DECL_VTABLE_OR_VTT_P (vars)) - return; - - child_rtx = XEXP (DECL_RTL (vars), 0); /* strip the mem ref */ - - parent = binfo_for_vtable (vars); - - if (parent == TYPE_BINFO (DECL_CONTEXT (vars))) - parent_rtx = const0_rtx; - else if (parent) - { - parent = get_vtbl_decl_for_binfo (TYPE_BINFO (BINFO_TYPE (parent))); - parent_rtx = XEXP (DECL_RTL (parent), 0); /* strip the mem ref */ - } - else - abort (); - - assemble_vtable_inherit (child_rtx, parent_rtx); -} /* If necessary, write out the vtables for the dynamic class CTYPE. Returns true if any vtables were emitted. */ |