summaryrefslogtreecommitdiff
path: root/gcc/config/picochip
diff options
context:
space:
mode:
authorHariharan Sandanagobalane <hariharan@picochip.com>2010-09-09 13:59:42 +0000
committerHariharan Sandanagobalane <hariharans@gcc.gnu.org>2010-09-09 13:59:42 +0000
commit5582cb29ba08c42f8f02bc203a0c427cfa728c73 (patch)
treeaed3792b6bc40fd18096937dd47600180a40ecf9 /gcc/config/picochip
parented2222c873bffc7c7edcb6bd774eb40970318062 (diff)
downloadgcc-5582cb29ba08c42f8f02bc203a0c427cfa728c73.tar.gz
picochip.c (picochip_reorg): Check for note_p for epilogue instruction move.
* config/picochip/picochip.c (picochip_reorg): Check for note_p for epilogue instruction move. From-SVN: r164108
Diffstat (limited to 'gcc/config/picochip')
-rw-r--r--gcc/config/picochip/picochip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/picochip/picochip.c b/gcc/config/picochip/picochip.c
index ded84e32c6b..6ae64e66159 100644
--- a/gcc/config/picochip/picochip.c
+++ b/gcc/config/picochip/picochip.c
@@ -3290,7 +3290,7 @@ picochip_reorg (void)
for (insn = get_insns (); insn; insn = next_insn (insn))
{
/* The prologue end must be moved to the end of the VLIW packet. */
- if (NOTE_KIND (insn) == NOTE_INSN_PROLOGUE_END)
+ if (NOTE_P (insn) && NOTE_KIND (insn) == NOTE_INSN_PROLOGUE_END)
{
prologue_end_note = insn;
break;