committed: Fix PR44640 (2/2)
Joern Rennecke
amylaar@spamcop.net
Wed Jun 23 13:42:00 GMT 2010
build & regression tested on i686-pc-linux-gnu X spu-elf in revision 161211.
Checked in as obvious.
-------------- next part --------------
2010-02-18 Joern Rennecke <joern.rennecke@embecosm.com>
* config/spu/spu.c (ea_load_store_inline): Use add_reg_note.
Index: config/spu/spu.c
===================================================================
--- config/spu/spu.c (revision 161213)
+++ config/spu/spu.c (working copy)
@@ -4488,8 +4488,7 @@ ea_load_store_inline (rtx mem, bool is_s
hit_ref, pc_rtx)));
/* Say that this branch is very likely to happen. */
v = REG_BR_PROB_BASE - REG_BR_PROB_BASE / 100 - 1;
- REG_NOTES (insn)
- = gen_rtx_EXPR_LIST (REG_BR_PROB, GEN_INT (v), REG_NOTES (insn));
+ add_reg_note (insn, REG_BR_PROB, GEN_INT (v));
ea_load_store (mem, is_store, ea_addr, data_addr);
cont_label = gen_label_rtx ();
More information about the Gcc-patches
mailing list