diff options
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; |