diff options
author | Richard Guenther <rguenther@suse.de> | 2011-01-26 11:29:42 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2011-01-26 11:29:42 +0000 |
commit | 21d6a1c71eede3f1cfeac9e53888d65b0b58d366 (patch) | |
tree | 79db6f87de758e605e971aa99182afdbb7d6b790 /gcc/cgraphbuild.c | |
parent | 19d361071b4e622adf624a8a446a18cef89d43a4 (diff) | |
download | gcc-21d6a1c71eede3f1cfeac9e53888d65b0b58d366.tar.gz |
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
Diffstat (limited to 'gcc/cgraphbuild.c')
-rw-r--r-- | gcc/cgraphbuild.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/cgraphbuild.c b/gcc/cgraphbuild.c index 7bfeac78581..6b8116a612a 100644 --- a/gcc/cgraphbuild.c +++ b/gcc/cgraphbuild.c @@ -141,6 +141,11 @@ 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_node (DECL_FUNCTION_PERSONALITY (node->decl)), + NULL, IPA_REF_ADDR, NULL); + i = fun->eh->region_tree; if (!i) return; |