Commit 9c6e0798 by Jan Hubicka Committed by Jan Hubicka

tree-profile.c (tree_init_ic_make_global_vars): Mark new decls as needed.


	* tree-profile.c (tree_init_ic_make_global_vars): Mark new decls as
	needed.

From-SVN: r158937
parent 47d8a903
2010-04-30 Jan Hubicka <jh@suse.cz>
* tree-profile.c (tree_init_ic_make_global_vars): Mark new decls as
needed.
2010-04-30 Richard Guenther <rguenther@suse.de> 2010-04-30 Richard Guenther <rguenther@suse.de>
* tree-ssa-structalias.c (get_constraint_for_1): Generate * tree-ssa-structalias.c (get_constraint_for_1): Generate
......
...@@ -83,6 +83,7 @@ tree_init_ic_make_global_vars (void) ...@@ -83,6 +83,7 @@ tree_init_ic_make_global_vars (void)
DECL_ARTIFICIAL (ic_void_ptr_var) = 1; DECL_ARTIFICIAL (ic_void_ptr_var) = 1;
DECL_INITIAL (ic_void_ptr_var) = NULL; DECL_INITIAL (ic_void_ptr_var) = NULL;
varpool_finalize_decl (ic_void_ptr_var); varpool_finalize_decl (ic_void_ptr_var);
varpool_mark_needed_node (varpool_node (ic_void_ptr_var));
gcov_type_ptr = build_pointer_type (get_gcov_type ()); gcov_type_ptr = build_pointer_type (get_gcov_type ());
ic_gcov_type_ptr_var ic_gcov_type_ptr_var
...@@ -94,6 +95,7 @@ tree_init_ic_make_global_vars (void) ...@@ -94,6 +95,7 @@ tree_init_ic_make_global_vars (void)
DECL_ARTIFICIAL (ic_gcov_type_ptr_var) = 1; DECL_ARTIFICIAL (ic_gcov_type_ptr_var) = 1;
DECL_INITIAL (ic_gcov_type_ptr_var) = NULL; DECL_INITIAL (ic_gcov_type_ptr_var) = NULL;
varpool_finalize_decl (ic_gcov_type_ptr_var); varpool_finalize_decl (ic_gcov_type_ptr_var);
varpool_mark_needed_node (varpool_node (ic_gcov_type_ptr_var));
} }
static void static void
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment