This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH, picochip] Fix for a dejagnu failure


Hello all,
The attached patch fixes the memset dejagnu failure in picochip. Committed as r164108.


Thanks
Hari

ChangeLog:
        * config/picochip/picochip.c (picochip_reorg): Check for note_p for
        epilogue instruction move.


Patch:
Index: gcc/config/picochip/picochip.c
===================================================================
--- gcc/config/picochip/picochip.c (revision 164106)
+++ gcc/config/picochip/picochip.c (working copy)
@@ -3290,7 +3290,7 @@
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;



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]