* reorg.c (redundant_insn): Do not handle DEBUG_INSNs.
authorebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 26 Nov 2012 21:58:09 +0000 (21:58 +0000)
committerebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 26 Nov 2012 21:58:09 +0000 (21:58 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193829 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/reorg.c

index 1c0aa9a..0e02294 100644 (file)
@@ -1,3 +1,7 @@
+2012-11-26  Eric Botcazou  <ebotcazou@adacore.com>
+
+       * reorg.c (redundant_insn): Do not handle DEBUG_INSNs.
+
 2012-11-26  Vladimir Makarov  <vmakarov@redhat.com>
 
        PR target/55277
@@ -44,8 +48,7 @@
 
 2012-11-26  Marek Polacek  <polacek@redhat.com>
 
-       * cprop.c (hash_set): Remove variable.  Use regno
-       variable directly.
+       * cprop.c (hash_set): Remove variable.  Use regno variable directly.
 
 2012-11-26  Eric Botcazou  <ebotcazou@adacore.com>
 
index d4c2deb..dea790f 100644 (file)
@@ -1628,7 +1628,7 @@ redundant_insn (rtx insn, rtx target, rtx delay_list)
       if (LABEL_P (trial))
        return 0;
 
-      if (!NONDEBUG_INSN_P (trial))
+      if (!INSN_P (trial))
        continue;
       --insns_to_search;
 
@@ -1731,7 +1731,7 @@ redundant_insn (rtx insn, rtx target, rtx delay_list)
        trial && !LABEL_P (trial) && insns_to_search > 0;
        trial = PREV_INSN (trial))
     {
-      if (!NONDEBUG_INSN_P (trial))
+      if (!INSN_P (trial))
        continue;
       --insns_to_search;