diff options
Diffstat (limited to 'gcc/loop-unroll.c')
-rw-r--r-- | gcc/loop-unroll.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/loop-unroll.c b/gcc/loop-unroll.c index 9910b4e..d1c7b9c 100644 --- a/gcc/loop-unroll.c +++ b/gcc/loop-unroll.c @@ -1371,7 +1371,7 @@ decide_peel_simple (struct loop *loop, int flags) also branch from branch prediction POV (and probably better reason to not unroll/peel). */ if (num_loop_branches (loop) > 1 - && profile_status != PROFILE_READ) + && profile_status_for_fn (cfun) != PROFILE_READ) { if (dump_file) fprintf (dump_file, ";; Not peeling, contains branches\n"); |