aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorKyrylo Tkachov <kyrylo.tkachov@arm.com>2014-01-28 14:17:09 +0000
committerKyrylo Tkachov <ktkachov@gcc.gnu.org>2014-01-28 14:17:09 +0000
commit5facb998d920cb29d4390c6ab04230b19aa0ff12 (patch)
treee02aa376bedc9b1d5173bc375ea179fb37c8d262 /gcc
parente04faf242e40afa98183a425e2da2500dd8fe4c6 (diff)
downloadgcc-5facb998d920cb29d4390c6ab04230b19aa0ff12.zip
gcc-5facb998d920cb29d4390c6ab04230b19aa0ff12.tar.gz
gcc-5facb998d920cb29d4390c6ab04230b19aa0ff12.tar.bz2
arm.c (arm_new_rtx_costs): Remove useless statement at const_int_cost.
* config/arm/arm.c (arm_new_rtx_costs): Remove useless statement at const_int_cost. From-SVN: r207193
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/arm/arm.c1
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 53934eb..364cc8a 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2014-01-28 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
+
+ * config/arm/arm.c (arm_new_rtx_costs): Remove useless statement
+ at const_int_cost.
+
2014-01-28 Richard Biener <rguenther@suse.de>
Revert
diff --git a/gcc/config/arm/arm.c b/gcc/config/arm/arm.c
index fc81bf6..b856a61 100644
--- a/gcc/config/arm/arm.c
+++ b/gcc/config/arm/arm.c
@@ -10390,7 +10390,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));