Commit dd8352ee by Jan Hubicka Committed by Jan Hubicka

cgraph.c (cgraph_create_virtual_clone): Clear constructor/destructor flags.

	* cgraph.c (cgraph_create_virtual_clone): Clear constructor/destructor
	flags.

From-SVN: r173215
parent b972d95b
2011-04-30 Jan Hubicka <jh@suse.cz>
* cgraph.c (cgraph_create_virtual_clone): Clear constructor/destructor
flags.
2011-04-30 Anatoly Sokolov <aesok@post.ru>
* config/sparc/sparc.h (PRINT_OPERAND, PRINT_OPERAND_ADDRESS,
......
......@@ -2285,6 +2285,8 @@ cgraph_create_virtual_clone (struct cgraph_node *old_node,
TREE_PUBLIC (new_node->decl) = 0;
DECL_COMDAT (new_node->decl) = 0;
DECL_WEAK (new_node->decl) = 0;
DECL_STATIC_CONSTRUCTOR (new_node->decl) = 0;
DECL_STATIC_DESTRUCTOR (new_node->decl) = 0;
new_node->clone.tree_map = tree_map;
new_node->clone.args_to_skip = args_to_skip;
FOR_EACH_VEC_ELT (ipa_replace_map_p, tree_map, i, map)
......
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