summaryrefslogtreecommitdiff
path: root/gcc/reorg.c
diff options
context:
space:
mode:
authorebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>2012-11-26 21:58:09 +0000
committerebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>2012-11-26 21:58:09 +0000
commitb9ed2912f800809b171ac45e03c7bea23a85d8ba (patch)
tree60acd4443c858452449a64a3fe9d77f4346b3a9f /gcc/reorg.c
parent3006afab8eb1fa314f4170909845760512fd8afb (diff)
downloadgcc-b9ed2912f800809b171ac45e03c7bea23a85d8ba.tar.gz
* 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
Diffstat (limited to 'gcc/reorg.c')
-rw-r--r--gcc/reorg.c4
1 files changed, 2 insertions, 2 deletions
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;