diff mbox

[ARM,committed] Remove useless statement in arm_new_rtx_costs

Message ID 52E7BBF2.5030609@arm.com
State New
Headers show

Commit Message

Kyrylo Tkachov Jan. 28, 2014, 2:17 p.m. UTC
Hi all,

I've committed the attached trivial patch to remove a useless statement as r207193.

Thanks,
Kyrill


2014-01-28  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>

     * config/arm/arm.c (arm_new_rtx_costs): Remove useless statement
     at const_int_cost.
diff mbox

Patch

diff --git a/gcc/config/arm/arm.c b/gcc/config/arm/arm.c
index bf5d1b2..bcb64ee 100644
--- a/gcc/config/arm/arm.c
+++ b/gcc/config/arm/arm.c
@@ -10406,7 +10406,6 @@  arm_new_rtx_costs (rtx x, enum rtx_code code, enum rtx_code outer_code,
     const_int_cost:
       if (mode == SImode)
 	{
-	  *cost += 0;
 	  *cost += COSTS_N_INSNS (arm_gen_constant (outer_code, SImode, NULL,
 						    INTVAL (x), NULL, NULL,
 						    0, 0));