From 62a3f636a22301e50039522b042daea292b49bfd Mon Sep 17 00:00:00 2001 From: Maxim Kuvyrkov Date: Tue, 27 Jul 2010 19:12:21 +0000 Subject: dbgcnt.def (hoist_insn): New debug counter. * dbgcnt.def (hoist_insn): New debug counter. * gcse.c (hoist_code): Use it. From-SVN: r162586 --- gcc/gcse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gcc/gcse.c') 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; -- cgit v1.2.1