diff options
Diffstat (limited to 'gcc/tree-call-cdce.c')
-rw-r--r-- | gcc/tree-call-cdce.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/tree-call-cdce.c b/gcc/tree-call-cdce.c index 75ef180..4123130 100644 --- a/gcc/tree-call-cdce.c +++ b/gcc/tree-call-cdce.c @@ -959,7 +959,8 @@ use_internal_fn (gcall *call) { unsigned nconds = 0; auto_vec<gimple *, 12> conds; - gen_shrink_wrap_conditions (call, conds, &nconds); + if (can_test_argument_range (call)) + gen_shrink_wrap_conditions (call, conds, &nconds); if (nconds == 0 && !edom_only_function (call)) return false; |