aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/class.c
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2011-04-17 18:37:07 +0200
committerJan Hubicka <hubicka@gcc.gnu.org>2011-04-17 16:37:07 +0000
commit2e9bb6ba99ec7db9f88a44dfec42c84ec1c7ea30 (patch)
treec5e214518a3d4cc5f9e7d0ab4113b820716872a6 /gcc/cp/class.c
parentbeb628e13b6193f1fde902d8b20a8339d6dc4b10 (diff)
downloadgcc-2e9bb6ba99ec7db9f88a44dfec42c84ec1c7ea30.zip
gcc-2e9bb6ba99ec7db9f88a44dfec42c84ec1c7ea30.tar.gz
gcc-2e9bb6ba99ec7db9f88a44dfec42c84ec1c7ea30.tar.bz2
re PR middle-end/20991 (ICE in cgraph_mark_reachable_node)
* cgraph.c (cgraph_clone_node): Do not handle vtable_method * cgraph.h (struct cgraph_local_info): Drop vtable_method. * cgraphunit.c (cgraph_copy_node_for_versioning): Drop vtable_method. * lto-cgraph.c (lto_output_node, input_overwrite_node): Drop vtable method. * gimple-fold.c (can_refer_decl_in_current_unit_p): Mention PR20991 in gimple-fold.c * varasm.c (mark_decl_referenced): Drop vtable_method handling code. * cp/class.c (cp_fold_obj_type_ref): Drop vtable_method. From-SVN: r172613
Diffstat (limited to 'gcc/cp/class.c')
-rw-r--r--gcc/cp/class.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/gcc/cp/class.c b/gcc/cp/class.c
index 3216068..5578eb2 100644
--- a/gcc/cp/class.c
+++ b/gcc/cp/class.c
@@ -8402,8 +8402,6 @@ cp_fold_obj_type_ref (tree ref, tree known_type)
DECL_VINDEX (fndecl)));
#endif
- cgraph_get_node (fndecl)->local.vtable_method = true;
-
return build_address (fndecl);
}