summaryrefslogtreecommitdiff
path: root/gcc/hw-doloop.c
diff options
context:
space:
mode:
authorBernd Schmidt <bernds@codesourcery.com>2011-09-30 12:26:57 +0000
committerBernd Schmidt <bernds@gcc.gnu.org>2011-09-30 12:26:57 +0000
commitf27a3d372a48c2f3ef8e256a61020f23fa8b57d9 (patch)
tree5e106d3a698e3ce9aaf940080790b22f9e3c547a /gcc/hw-doloop.c
parent8d4f1548bd12ed9975ad22e1ba08ccb258352055 (diff)
hw-doloop.c (scan_loop): Compute register usage only for non-debug insns.
* hw-doloop.c (scan_loop): Compute register usage only for non-debug insns. From-SVN: r179379
Diffstat (limited to 'gcc/hw-doloop.c')
-rw-r--r--gcc/hw-doloop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/hw-doloop.c b/gcc/hw-doloop.c
index 3d59200a84b..4ba7b4c2e74 100644
--- a/gcc/hw-doloop.c
+++ b/gcc/hw-doloop.c
@@ -123,7 +123,7 @@ scan_loop (hwloop_info loop)
df_ref *def_rec;
HARD_REG_SET set_this_insn;
- if (!INSN_P (insn))
+ if (!NONDEBUG_INSN_P (insn))
continue;
if (recog_memoized (insn) < 0