summaryrefslogtreecommitdiff
path: root/gcc/ipa-utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/ipa-utils.c')
-rw-r--r--gcc/ipa-utils.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/ipa-utils.c b/gcc/ipa-utils.c
index db0784db550..e22977a0707 100644
--- a/gcc/ipa-utils.c
+++ b/gcc/ipa-utils.c
@@ -295,13 +295,13 @@ ipa_reverse_postorder (struct cgraph_node **order)
(cgraph_function_node (edge->callee, NULL)->symbol.decl))
node2 = NULL;
}
- for (;ipa_ref_list_refering_iterate (&stack[stack_size].node->symbol.ref_list,
+ for (;ipa_ref_list_referring_iterate (&stack[stack_size].node->symbol.ref_list,
stack[stack_size].ref,
ref) && !node2;
stack[stack_size].ref++)
{
if (ref->use == IPA_REF_ALIAS)
- node2 = ipa_ref_refering_node (ref);
+ node2 = ipa_ref_referring_node (ref);
}
if (!node2)
break;