aboutsummaryrefslogtreecommitdiff
path: root/gcc/config
diff options
context:
space:
mode:
authorHariharan Sandanagobalane <hariharan@picochip.com>2009-09-10 16:03:53 +0000
committerHariharan Sandanagobalane <hariharans@gcc.gnu.org>2009-09-10 16:03:53 +0000
commitf3d9e91bccfac76d92b48ea45a0b4e3056638a33 (patch)
tree06ea5d8aa6b7f5080e5c7807b8bb3d693763d1aa /gcc/config
parent3a3d54f2fe6d6e9a56bdb79d92c635ddff9fa358 (diff)
downloadgcc-f3d9e91bccfac76d92b48ea45a0b4e3056638a33.zip
gcc-f3d9e91bccfac76d92b48ea45a0b4e3056638a33.tar.gz
gcc-f3d9e91bccfac76d92b48ea45a0b4e3056638a33.tar.bz2
picochip.c: Ignore DEBUG_INSN_P instructions introduced by the VTA branch merge.
* config/picochip/picochip.c : Ignore DEBUG_INSN_P instructions introduced by the VTA branch merge. From-SVN: r151597
Diffstat (limited to 'gcc/config')
-rw-r--r--gcc/config/picochip/picochip.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/gcc/config/picochip/picochip.c b/gcc/config/picochip/picochip.c
index ecec1f7..5155e76 100644
--- a/gcc/config/picochip/picochip.c
+++ b/gcc/config/picochip/picochip.c
@@ -2920,7 +2920,7 @@ reorder_var_tracking_notes (void)
{
next = NEXT_INSN (insn);
- if (INSN_P (insn))
+ if (NONDEBUG_INSN_P (insn))
{
/* Emit queued up notes before the first instruction of a bundle. */
if (GET_MODE (insn) == TImode)
@@ -3016,7 +3016,7 @@ picochip_reorg (void)
INSN_LOCATOR (insn1) = vliw_insn_location;
}
/* Tag subsequent instructions with the same location. */
- if (INSN_P (insn))
+ if (NONDEBUG_INSN_P (insn))
INSN_LOCATOR (insn) = vliw_insn_location;
}
}
@@ -3160,7 +3160,7 @@ picochip_reset_vliw (rtx insn)
local_insn = insn;
do
{
- if (NOTE_P (local_insn))
+ if (NOTE_P (local_insn) || DEBUG_INSN_P(local_insn))
{
local_insn = NEXT_INSN (local_insn);
continue;
@@ -3599,7 +3599,7 @@ picochip_final_prescan_insn (rtx insn, rtx * opvec ATTRIBUTE_UNUSED,
for (local_insn = NEXT_INSN (local_insn); local_insn;
local_insn = NEXT_INSN (local_insn))
{
- if (NOTE_P (local_insn))
+ if (NOTE_P (local_insn) || DEBUG_INSN_P(local_insn))
continue;
else if (!INSN_P (local_insn))
break;
@@ -3611,7 +3611,7 @@ picochip_final_prescan_insn (rtx insn, rtx * opvec ATTRIBUTE_UNUSED,
/* Set the continuation flag if the next instruction can be packed
with the current instruction (i.e., the next instruction is
valid, and isn't the start of a new cycle). */
- picochip_vliw_continuation = (local_insn && INSN_P (local_insn) &&
+ picochip_vliw_continuation = (local_insn && NONDEBUG_INSN_P (local_insn) &&
(GET_MODE (local_insn) != TImode));
}