Commit 9cf4fb5a by Jan Hubicka Committed by Jan Hubicka

cgraphbuild.c (record_eh_tables): Mark personality function as having address taken.



	* cgraphbuild.c (record_eh_tables): Mark personality function as having
	address taken.

From-SVN: r174869
parent c577822e
2011-06-09 Jan Hubicka <jh@suse.cz>
* cgraphbuild.c (record_eh_tables): Mark personality function as having
address taken.
2011-06-10 Hans-Peter Nilsson <hp@axis.com>
PR rtl-optimization/49154
......
......@@ -149,9 +149,13 @@ record_eh_tables (struct cgraph_node *node, struct function *fun)
eh_region i;
if (DECL_FUNCTION_PERSONALITY (node->decl))
ipa_record_reference (node, NULL,
cgraph_get_create_node (DECL_FUNCTION_PERSONALITY (node->decl)),
NULL, IPA_REF_ADDR, NULL);
{
struct cgraph_node *per_node;
per_node = cgraph_get_create_node (DECL_FUNCTION_PERSONALITY (node->decl));
ipa_record_reference (node, NULL, per_node, NULL, IPA_REF_ADDR, NULL);
cgraph_mark_address_taken_node (per_node);
}
i = fun->eh->region_tree;
if (!i)
......
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