aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.4.3/gcc/ipa-cp.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc-4.4.3/gcc/ipa-cp.c')
-rw-r--r--gcc-4.4.3/gcc/ipa-cp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc-4.4.3/gcc/ipa-cp.c b/gcc-4.4.3/gcc/ipa-cp.c
index 73e6b52a6..0bc01ef0d 100644
--- a/gcc-4.4.3/gcc/ipa-cp.c
+++ b/gcc-4.4.3/gcc/ipa-cp.c
@@ -228,6 +228,8 @@ ipcp_update_cloned_node (struct cgraph_node *new_node)
for (cs = new_node->callees; cs; cs = cs->next_callee)
{
+ if (!cs->callee->analyzed)
+ continue;
ipa_count_arguments (cs);
ipa_compute_jump_functions (cs);
}