OSDN Git Service

* config/spu/spu.c (spu_emit_branch_hint): Do not access NOTE_KIND of
[pf3gnuchains/gcc-fork.git] / gcc / config / spu / spu.c
index 689b500..ec78859 100644 (file)
@@ -2330,7 +2330,7 @@ spu_emit_branch_hint (rtx before, rtx branch, rtx target,
     return;
 
   /* If we have a Basic block note, emit it after the basic block note.  */
-  if (NOTE_KIND (before) == NOTE_INSN_BASIC_BLOCK)
+  if (NOTE_INSN_BASIC_BLOCK_P (before))
     before = NEXT_INSN (before);
 
   branch_label = gen_label_rtx ();