From: Eric Botcazou Date: Mon, 26 Nov 2012 21:58:09 +0000 (+0000) Subject: * reorg.c (redundant_insn): Do not handle DEBUG_INSNs. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=90251a6208237554814599ed36126cd63bfe9dc6;p=gcc.git * reorg.c (redundant_insn): Do not handle DEBUG_INSNs. From-SVN: r193829 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 1c0aa9a0b2c..0e02294fa8e 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2012-11-26 Eric Botcazou + + * reorg.c (redundant_insn): Do not handle DEBUG_INSNs. + 2012-11-26 Vladimir Makarov PR target/55277 @@ -44,8 +48,7 @@ 2012-11-26 Marek Polacek - * 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 diff --git a/gcc/reorg.c b/gcc/reorg.c index d4c2deb0e9e..dea790f4a8d 100644 --- a/gcc/reorg.c +++ b/gcc/reorg.c @@ -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;