From f90f4827aa0ddf3d1a70321ed08e2d2598faacc2 Mon Sep 17 00:00:00 2001 From: Hariharan Sandanagobalane Date: Thu, 10 Sep 2009 16:48:54 +0000 Subject: [PATCH] final.c (shorten_branches): Ignore DEBUG_INSN_P instructions introduced by the VTA branch merge. * final.c (shorten_branches) : Ignore DEBUG_INSN_P instructions introduced by the VTA branch merge. From-SVN: r151599 --- gcc/ChangeLog | 5 +++++ gcc/final.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 70a460d2a11..02a645ede97 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2009-09-10 Hariharan Sandanagobalane + + * final.c (shorten_branches) : Ignore DEBUG_INSN_P instructions + introduced by the VTA branch merge. + 2009-09-10 Uros Bizjak * ira-conflicts.c: Use fputs or putc instead of fprintf diff --git a/gcc/final.c b/gcc/final.c index 76c52ca100e..d8ecc5177f0 100644 --- a/gcc/final.c +++ b/gcc/final.c @@ -1081,7 +1081,7 @@ shorten_branches (rtx first ATTRIBUTE_UNUSED) INSN_ADDRESSES (uid) = insn_current_address + insn_lengths[uid]; if (NOTE_P (insn) || BARRIER_P (insn) - || LABEL_P (insn)) + || LABEL_P (insn) || DEBUG_INSN_P(insn)) continue; if (INSN_DELETED_P (insn)) continue; -- 2.30.2