* reorg.c (redundant_insn): Do not handle DEBUG_INSNs.

From-SVN: r193829
This commit is contained in:
Eric Botcazou 2012-11-26 21:58:09 +00:00
parent d8405cc137
commit 90251a6208
2 changed files with 7 additions and 4 deletions

View 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>

View 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;