re PR c/10320 (gcc 3.4 gets rid of static inline function that does not get inlined)
authorJan Hubicka <jh@suse.cz>
Wed, 30 Jul 2003 17:27:17 +0000 (19:27 +0200)
committerJan Hubicka <hubicka@gcc.gnu.org>
Wed, 30 Jul 2003 17:27:17 +0000 (17:27 +0000)
commita0c8285b03a452fcdf39e4d3db8d7710123584b0
tree181f1593ae48087fad3a738850b5465caf5b57c3
parent1051c718b1be8473bacf4d7c65be3f7304116ddc
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
18 files changed:
gcc/ChangeLog
gcc/c-common.c
gcc/c-common.h
gcc/c-opts.c
gcc/config/i386/i386.c
gcc/cp/ChangeLog
gcc/cp/class.c
gcc/cp/cp-lang.c
gcc/cp/cp-tree.h
gcc/cp/decl2.c
gcc/doc/invoke.texi
gcc/final.c
gcc/gcse.c
gcc/output.h
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/opt/vtgc1.C [deleted file]
gcc/tree-inline.c
gcc/varasm.c