+2017-01-20 Martin Liska <mliska@suse.cz>
+
+ PR lto/69188
+ * tree-profile.c (init_ic_make_global_vars): Do not call
+ finalize_decl.
+ (gimple_init_gcov_profiler): Likewise.
+
2017-01-20 Martin Liska <mliska@suse.cz>
PR ipa/71190
+2017-01-20 Martin Liska <mliska@suse.cz>
+
+ PR lto/69188
+ * gcc.dg/lto/pr69188_0.c: New test.
+ * gcc.dg/lto/pr69188_1.c: New test.
+
2017-01-20 Andrew Senkevich <andrew.senkevich@intel.com>
* gcc.target/i386/avx512bw-kshiftld-1.c: New test.
if (targetm.have_tls)
set_decl_tls_model (ic_void_ptr_var, decl_default_tls_model (ic_void_ptr_var));
- varpool_node::finalize_decl (ic_void_ptr_var);
-
gcov_type_ptr = build_pointer_type (get_gcov_type ());
ic_gcov_type_ptr_var
DECL_INITIAL (ic_gcov_type_ptr_var) = NULL;
if (targetm.have_tls)
set_decl_tls_model (ic_gcov_type_ptr_var, decl_default_tls_model (ic_gcov_type_ptr_var));
-
- varpool_node::finalize_decl (ic_gcov_type_ptr_var);
}
/* Create the type and function decls for the interface with gcov. */
DECL_ARTIFICIAL (tree_time_profiler_counter) = 1;
DECL_INITIAL (tree_time_profiler_counter) = NULL;
- varpool_node::finalize_decl (tree_time_profiler_counter);
-
/* void (*) (gcov_type *, gcov_type) */
average_profiler_fn_type
= build_function_type_list (void_type_node,