From: ebotcazou Date: Mon, 26 Nov 2012 21:58:09 +0000 (+0000) Subject: * reorg.c (redundant_insn): Do not handle DEBUG_INSNs. X-Git-Tag: upstream/4.9.2~8950 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b9ed2912f800809b171ac45e03c7bea23a85d8ba;p=platform%2Fupstream%2Flinaro-gcc.git * reorg.c (redundant_insn): Do not handle DEBUG_INSNs. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193829 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 1c0aa9a..0e02294 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 d4c2deb..dea790f 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;