spu.c (spu_emit_branch_hint): Do not access NOTE_KIND of non-NOTE insns.
* config/spu/spu.c (spu_emit_branch_hint): Do not access NOTE_KIND of non-NOTE insns. From-SVN: r162870
This commit is contained in:
parent
47433429cf
commit
295128cc5e
|
@ -1,3 +1,8 @@
|
|||
2010-08-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
|
||||
|
||||
* config/spu/spu.c (spu_emit_branch_hint): Do not access NOTE_KIND of
|
||||
non-NOTE insns.
|
||||
|
||||
2010-07-28 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
|
||||
|
||||
Backport from mainline:
|
||||
|
|
|
@ -2291,7 +2291,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 ();
|
||||
|
|
Loading…
Reference in New Issue