diff options
Diffstat (limited to 'gcc/ipa-hsa.c')
-rw-r--r-- | gcc/ipa-hsa.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/ipa-hsa.c b/gcc/ipa-hsa.c index 1df273c7f28..b1b897aeb3a 100644 --- a/gcc/ipa-hsa.c +++ b/gcc/ipa-hsa.c @@ -113,7 +113,7 @@ process_hsa_functions (void) TREE_PUBLIC (clone->decl) = TREE_PUBLIC (node->decl); clone->externally_visible = node->externally_visible; - if (!cgraph_local_p (node)) + if (!node->local.local) clone->force_output = true; hsa_summaries->link_functions (clone, node, HSA_FUNCTION, false); |