From patchwork Wed Jun 23 12:43:14 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: committed: Fix PR44640 (2/2) Date: Wed, 23 Jun 2010 02:43:14 -0000 From: Joern Rennecke X-Patchwork-Id: 56673 Message-Id: <20100623084314.bwco5n0rvo084wcg-nzlynne@webmail.spamcop.net> To: gcc-patches@gcc.gnu.org build & regression tested on i686-pc-linux-gnu X spu-elf in revision 161211. Checked in as obvious. 2010-02-18 Joern Rennecke * 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 ();