* hw-doloop.c (scan_loop): Compute register usage only for non-debug
authorbernds <bernds@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 30 Sep 2011 12:26:57 +0000 (12:26 +0000)
committerbernds <bernds@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 30 Sep 2011 12:26:57 +0000 (12:26 +0000)
insns.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@179379 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/hw-doloop.c

index f5c7dfc..c20caa8 100644 (file)
@@ -1,3 +1,8 @@
+2011-09-30  Bernd Schmidt  <bernds@codesourcery.com>
+
+       * hw-doloop.c (scan_loop): Compute register usage only for non-debug
+       insns.
+
 2011-09-30  Ramana Radhakrishnan  <ramana.radhakrishnan@linaro.org>
 
         PR target/50099
index 3d59200..4ba7b4c 100644 (file)
@@ -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