From patchwork Wed Jun 23 12:43:14 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joern Rennecke X-Patchwork-Id: 56673 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) by ozlabs.org (Postfix) with SMTP id C4D4CB709C for ; Wed, 23 Jun 2010 22:43:24 +1000 (EST) Received: (qmail 17236 invoked by alias); 23 Jun 2010 12:43:22 -0000 Received: (qmail 17222 invoked by uid 22791); 23 Jun 2010 12:43:21 -0000 X-SWARE-Spam-Status: No, hits=-2.2 required=5.0 tests=AWL, BAYES_00, RCVD_IN_DNSWL_LOW X-Spam-Check-By: sourceware.org Received: from c60.cesmail.net (HELO c60.cesmail.net) (216.154.195.49) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 23 Jun 2010 12:43:16 +0000 Received: from unknown (HELO webmail2) ([192.168.1.183]) by c60.cesmail.net with ESMTP; 23 Jun 2010 08:43:15 -0400 Received: from 89.240.194.79 ([89.240.194.79]) by webmail.spamcop.net (Horde MIME library) with HTTP; Wed, 23 Jun 2010 08:43:14 -0400 Message-ID: <20100623084314.bwco5n0rvo084wcg-nzlynne@webmail.spamcop.net> Date: Wed, 23 Jun 2010 08:43:14 -0400 From: Joern Rennecke To: gcc-patches@gcc.gnu.org Subject: committed: Fix PR44640 (2/2) MIME-Version: 1.0 User-Agent: Internet Messaging Program (IMP) H3 (4.1.4) Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list 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 ();