diff options
author | Jason Merrill <jason@redhat.com> | 2014-02-26 16:32:41 -0500 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 2014-02-26 16:32:41 -0500 |
commit | c34396266f5296551b618feae6039b8ec6e7d766 (patch) | |
tree | b4073e33f09dbfaea84baa3df0d7b5bb4a9a70b5 /gcc/cp/class.c | |
parent | ca7e759d96d6c0c046a6e20b066d86d070f65e35 (diff) | |
download | gcc-c34396266f5296551b618feae6039b8ec6e7d766.zip gcc-c34396266f5296551b618feae6039b8ec6e7d766.tar.gz gcc-c34396266f5296551b618feae6039b8ec6e7d766.tar.bz2 |
re PR c++/60347 (r208153 breaks Firefox build)
PR c++/60347
PR lto/53808
* class.c (clone_function_decl): Don't note_vague_linkage_fn.
* init.c (build_vtbl_address): Do it here.
From-SVN: r208184
Diffstat (limited to 'gcc/cp/class.c')
-rw-r--r-- | gcc/cp/class.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/gcc/cp/class.c b/gcc/cp/class.c index f61dc9d..b46391b 100644 --- a/gcc/cp/class.c +++ b/gcc/cp/class.c @@ -4584,10 +4584,6 @@ clone_function_decl (tree fn, int update_method_vec_p) destructor. */ if (DECL_VIRTUAL_P (fn)) { - if (DECL_DEFAULTED_FN (fn) && flag_devirtualize) - /* Make sure the destructor gets synthesized so that it can be - inlined after devirtualization. */ - note_vague_linkage_fn (fn); clone = build_clone (fn, deleting_dtor_identifier); if (update_method_vec_p) add_method (DECL_CONTEXT (clone), clone, NULL_TREE); |