diff options
Diffstat (limited to 'gcc/loop-unswitch.c')
-rw-r--r-- | gcc/loop-unswitch.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/loop-unswitch.c b/gcc/loop-unswitch.c index 9d66d41..8770bf6 100644 --- a/gcc/loop-unswitch.c +++ b/gcc/loop-unswitch.c @@ -290,7 +290,7 @@ unswitch_single_loop (struct loop *loop, rtx cond_checked, int num) } /* Do not unswitch in cold areas. */ - if (!maybe_hot_bb_p (loop->header)) + if (optimize_loop_for_size_p (loop)) { if (dump_file) fprintf (dump_file, ";; Not unswitching, not hot area\n"); |