Message ID | 4C88E87F.8040204@picochip.com |
---|---|
State | New |
Headers | show |
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;