diff options
Diffstat (limited to 'gcc/ipa-prop.c')
-rw-r--r-- | gcc/ipa-prop.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/ipa-prop.c b/gcc/ipa-prop.c index 6620d5791cd..3fdebc1f2c5 100644 --- a/gcc/ipa-prop.c +++ b/gcc/ipa-prop.c @@ -1456,6 +1456,8 @@ ipa_analyze_call_uses (struct cgraph_node *node, { tree target = gimple_call_fn (call); + if (!target) + return; if (TREE_CODE (target) == SSA_NAME) ipa_analyze_indirect_call_uses (node, info, parms_info, call, target); else if (TREE_CODE (target) == OBJ_TYPE_REF) |