diff options
Diffstat (limited to 'gcc/tree-data-ref.c')
-rw-r--r-- | gcc/tree-data-ref.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree-data-ref.c b/gcc/tree-data-ref.c index 96d57a0..fdaaaaf 100644 --- a/gcc/tree-data-ref.c +++ b/gcc/tree-data-ref.c @@ -2305,7 +2305,7 @@ static tree get_number_of_iters_for_loop (int loopnum) { struct loop *loop = get_loop (loopnum); - tree numiter = number_of_iterations_in_loop (loop); + tree numiter = number_of_exit_cond_executions (loop); if (TREE_CODE (numiter) == INTEGER_CST) return numiter; |