aboutsummaryrefslogtreecommitdiff
path: root/gcc/jump.c
diff options
context:
space:
mode:
authorAlexandre Oliva <aoliva@redhat.com>2010-12-13 03:08:24 +0000
committerAlexandre Oliva <aoliva@gcc.gnu.org>2010-12-13 03:08:24 +0000
commitb403760c3eca837c4b54eab24062648672b4ea29 (patch)
treebedc79750a5dfd1676920e86ed6195e8b6279622 /gcc/jump.c
parent11321111221bd6f8ce17c254452132a6fbd5abd7 (diff)
re PR debug/46756 (-fcompare-debug failure (length) with ASSIGN)
gcc/ChangeLog: PR debug/46576 * jump.c (mark_all_labels): Skip debug insns. gcc/testsuite/ChangeLog: PR debug/46576 * gfortran.dg/debug/pr46576.f: New. From-SVN: r167738
Diffstat (limited to 'gcc/jump.c')
-rw-r--r--gcc/jump.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/jump.c b/gcc/jump.c
index b85326adeeb..9721fe19e9e 100644
--- a/gcc/jump.c
+++ b/gcc/jump.c
@@ -193,7 +193,7 @@ mark_all_labels (rtx f)
rtx prev_nonjump_insn = NULL;
for (insn = f; insn; insn = NEXT_INSN (insn))
- if (INSN_P (insn))
+ if (NONDEBUG_INSN_P (insn))
{
mark_jump_label (PATTERN (insn), insn, 0);