aboutsummaryrefslogtreecommitdiff
path: root/gcc/resource.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/resource.c')
-rw-r--r--gcc/resource.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/resource.c b/gcc/resource.c
index 08a8055..2bb3a1a 100644
--- a/gcc/resource.c
+++ b/gcc/resource.c
@@ -976,6 +976,9 @@ mark_target_live_regs (rtx insns, rtx target, struct resources *res)
rtx real_insn = insn;
enum rtx_code code = GET_CODE (insn);
+ if (DEBUG_INSN_P (insn))
+ continue;
+
/* If this insn is from the target of a branch, it isn't going to
be used in the sequel. If it is used in both cases, this
test will not be true. */