summaryrefslogtreecommitdiff
path: root/gcc/ipa-ref.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/ipa-ref.c')
-rw-r--r--gcc/ipa-ref.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/ipa-ref.c b/gcc/ipa-ref.c
index 3c1001102bb..4b23f5fe574 100644
--- a/gcc/ipa-ref.c
+++ b/gcc/ipa-ref.c
@@ -87,7 +87,7 @@ ipa_ref::remove_reference ()
bool
ipa_ref::cannot_lead_to_return ()
{
- return cgraph_node_cannot_return (dyn_cast <cgraph_node *> (referring));
+ return dyn_cast <cgraph_node *> (referring)->cannot_return_p ();
}
/* Return reference list this reference is in. */