Commit 21d6a1c7 by Richard Guenther Committed by Richard Biener

re PR lto/47423 (Many testsuite failures caused by missing gxx_visibility_sj0)

2011-01-26  Richard Guenther  <rguenther@suse.de>

	PR lto/47423
	* cgraphbuild.c (record_eh_tables): Record reference to personality
	function.

From-SVN: r169284
parent 19d36107
2011-01-26 Richard Guenther <rguenther@suse.de>
PR lto/47423
* cgraphbuild.c (record_eh_tables): Record reference to personality
function.
2011-01-26 Alexandre Oliva <aoliva@redhat.com> 2011-01-26 Alexandre Oliva <aoliva@redhat.com>
PR debug/45454 PR debug/45454
......
...@@ -141,6 +141,11 @@ record_eh_tables (struct cgraph_node *node, struct function *fun) ...@@ -141,6 +141,11 @@ record_eh_tables (struct cgraph_node *node, struct function *fun)
{ {
eh_region i; eh_region i;
if (DECL_FUNCTION_PERSONALITY (node->decl))
ipa_record_reference (node, NULL,
cgraph_node (DECL_FUNCTION_PERSONALITY (node->decl)),
NULL, IPA_REF_ADDR, NULL);
i = fun->eh->region_tree; i = fun->eh->region_tree;
if (!i) if (!i)
return; return;
......
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