OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
2009-01-24 H.J. Lu <hongjiu.lu@intel.com>
[pf3gnuchains/gcc-fork.git]
/
gcc
/
loop-unswitch.c
diff --git
a/gcc/loop-unswitch.c
b/gcc/loop-unswitch.c
index
9d66d41
..
8770bf6
100644
(file)
--- 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");