From: Bernd Schmidt Date: Fri, 30 Sep 2011 12:26:57 +0000 (+0000) Subject: hw-doloop.c (scan_loop): Compute register usage only for non-debug insns. X-Git-Tag: releases/gcc-4.7.0~3456 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f27a3d372a48c2f3ef8e256a61020f23fa8b57d9;p=thirdparty%2Fgcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index f5c7dfcc65ea..c20caa8687e2 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2011-09-30 Bernd Schmidt + + * hw-doloop.c (scan_loop): Compute register usage only for non-debug + insns. + 2011-09-30 Ramana Radhakrishnan PR target/50099 diff --git a/gcc/hw-doloop.c b/gcc/hw-doloop.c index 3d59200a84b6..4ba7b4c2e74f 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