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
This commit is contained in:
Hariharan Sandanagobalane 2010-09-09 13:59:42 +00:00 committed by Hariharan Sandanagobalane
parent ed2222c873
commit 5582cb29ba
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2010-09-09 Hariharan Sandanagobalane <hariharan@picochip.com>
* config/picochip/picochip.c (picochip_reorg): Check for note_p for
epilogue instruction move.
2010-09-09 Jan Hubicka <jh@suse.cz>
* collect2.c (maybe_run_lto_and_relink): Rewrite code producing ld

View File

@ -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;