summaryrefslogtreecommitdiff
path: root/gcc/ipa-prop.c
diff options
context:
space:
mode:
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>2013-09-16 08:03:31 +0000
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>2013-09-16 08:03:31 +0000
commitaccbbe24a33248e6e7a3af256b241dad73aef7a3 (patch)
treef0a9d9413bb2f8da127285c36bb5af5a8b2d1126 /gcc/ipa-prop.c
parent211e63b00c3503919f23cbdeeb06960a7c7e4314 (diff)
downloadgcc-accbbe24a33248e6e7a3af256b241dad73aef7a3.tar.gz
* ipa-prop.c (ipa_compute_jump_functions_for_edge): Return early
for internal calls. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@202614 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ipa-prop.c')
-rw-r--r--gcc/ipa-prop.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/ipa-prop.c b/gcc/ipa-prop.c
index b511afd7ab9..c09ec2f0166 100644
--- a/gcc/ipa-prop.c
+++ b/gcc/ipa-prop.c
@@ -1551,6 +1551,8 @@ ipa_compute_jump_functions_for_edge (struct param_analysis_info *parms_ainfo,
return;
vec_safe_grow_cleared (args->jump_functions, arg_num);
+ if (gimple_call_internal_p (call))
+ return;
if (ipa_func_spec_opts_forbid_analysis_p (cs->caller))
return;