summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Kosnik <bkoz@redhat.com>2013-07-03 11:28:49 -0700
committerBenjamin Kosnik <bkoz@redhat.com>2013-07-03 11:28:49 -0700
commit1047fb462dab3aaa4453de4de37bb93c714e48d8 (patch)
treefc214320ff14ef3b69381d94d61d9a21dbcde193
parent9c1705845241cdea5cf61574218edef282901fbd (diff)
downloadgcc-1047fb462dab3aaa4453de4de37bb93c714e48d8.tar.gz
2013-07-03 Benjamin Kosnik <bkoz@redhat.com>
* vtable-class-hierarchy.c (output_set_info): Remove unused variable.
-rw-r--r--gcc/cp/ChangeLog37
-rw-r--r--gcc/cp/ChangeLog.vtv4
-rw-r--r--gcc/cp/vtable-class-hierarchy.c1
3 files changed, 4 insertions, 38 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index 15733a55eef..30e277b76f5 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,40 +1,3 @@
-2013-05-20 Caroline Tice <cmtice@google.com>
-
- * class.c (finish_struct_1): Add call to vtv_save_class_info if vtable
- verification is turned on.
- * config-lang.in: Add vtable-class-hierarchy.c to the list of files
- that use GCC's garbage collector.
- * g++spec.c (VTABLE_LOAD_MODULE_UNIT): New macro for link option needed
- with vtable verification.
- (lang_specific_driver): Added variable to indicate if vtable
- verification option is used, and which flavor. Process -fvtable-verify
- option, update num_args if option is present, and add appropriate
- driver options if fvtable-verify is present.
- * vtable-class-hierarchy.c: New file, containing the bulk of vtable
- verification's front-end work.
- * mangle.c (get_mangled_vtable_map_var_name): New function.
- * decl2.c (start_objects): Update function comment.
- (cp_write_global_declarations): If vtable verification is turned on,
- call vtv_recover_class_info and
- vtv_compute_class_hierarchy_transitive_closure before calling
- finalize_compilation_unit. Call vtv_generate_init_routine after.
- (vtv_start_verification_constructor_init_function): New externally
- visible wrapper function to call start_objects for vtable verification.
- (vtv_finish_verification_constructor_init_function): New function.
- * init.c (build_vtbl_address): Make function not static (externally
- visible).
- * Make-lang.in: (CXX_AND_OBJCXX_OBJS): Add vtable-class-hierarchy.o to
- list of object files.
- (vtable-class-hierarchy.o): Add rule for building object file.
- * pt.c (mark_class_instantiated): Add call to vtv_save_class_info if
- vtable verification is turned on.
- * cp-tree.h: Add extern function declarations for
- vtv_start_verification_constructor_init_function,
- vtv_finish_verification_constructor_init_function, build_vtbl_address,
- vtv_compute_class_hierarchy_transitive_closure,
- vtv_generate_init_routine, vtv_save_class_info,
- vtv_recover_class_info and get_mangled_vtable_map_var_name.
-
2013-05-20 Jason Merrill <jason@redhat.com>
PR c++/57016
diff --git a/gcc/cp/ChangeLog.vtv b/gcc/cp/ChangeLog.vtv
index 144a7af8aa7..010bcc783bd 100644
--- a/gcc/cp/ChangeLog.vtv
+++ b/gcc/cp/ChangeLog.vtv
@@ -1,3 +1,7 @@
+2013-07-03 Benjamin Kosnik <bkoz@redhat.com>
+
+ * vtable-class-hierarchy.c (output_set_info): Remove unused variable.
+
2013-06-16 Caroline Tice <cmtice@google.com>
* class.c (finish_struct_1): Add call to vtv_save_class_info if vtable
diff --git a/gcc/cp/vtable-class-hierarchy.c b/gcc/cp/vtable-class-hierarchy.c
index 4cb0d325da7..c8d7d713eb1 100644
--- a/gcc/cp/vtable-class-hierarchy.c
+++ b/gcc/cp/vtable-class-hierarchy.c
@@ -842,7 +842,6 @@ output_set_info (tree record_type, tree *vtbl_ptr_array, int array_size)
static int vtv_debug_log_fd = -1;
char buffer[1024];
int bytes_written __attribute__ ((unused));
- int i;
const char *class_name =
IDENTIFIER_POINTER (DECL_ASSEMBLER_NAME (TYPE_NAME (record_type)));