* reorg.c (redundant_insn): Do not handle DEBUG_INSNs.
authorEric Botcazou <ebotcazou@gcc.gnu.org>
Mon, 26 Nov 2012 21:58:09 +0000 (21:58 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Mon, 26 Nov 2012 21:58:09 +0000 (21:58 +0000)
From-SVN: r193829

gcc/ChangeLog
gcc/reorg.c

index 1c0aa9a0b2c7abea6ad06631ba44c24b4edf87cd..0e02294fa8e1f9dc9a9d53d8f95d57926777b87b 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 d4c2deb0e9ec3f503544a8a5932fd0c077b26223..dea790f4a8d261863706746c73db2f4fb6ef3565 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;