summaryrefslogtreecommitdiff
path: root/gcc/gcse.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/gcse.c')
-rw-r--r--gcc/gcse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/gcse.c b/gcc/gcse.c
index 6f345ccbce6..e506d47df96 100644
--- a/gcc/gcse.c
+++ b/gcc/gcse.c
@@ -4330,7 +4330,7 @@ hoist_code (void)
the vast majority of hoistable expressions are only movable
from two successors, so raising this threshold is likely
to nullify any benefit we get from code hoisting. */
- if (hoistable > 1)
+ if (hoistable > 1 && dbg_cnt (hoist_insn))
{
SET_BIT (hoist_exprs[bb->index], i);
found = 1;