[ARM] Initialise cost to COSTS_N_INSNS (1) and increment in arm rtx costs
authorKyrylo Tkachov <kyrylo.tkachov@arm.com>
Wed, 8 Jul 2015 09:14:24 +0000 (09:14 +0000)
committerKyrylo Tkachov <ktkachov@gcc.gnu.org>
Wed, 8 Jul 2015 09:14:24 +0000 (09:14 +0000)
commit9dff8d0b5b0bf4490197ae2135792484dab9d6fa
treed035aba494f5bc6360c12040682920bbe8f5f39f
parent3d1e4f66cf99e6ca1f039cef62ef305918ff9e61
[ARM] Initialise cost to COSTS_N_INSNS (1) and increment in arm rtx costs

* config/arm/arm.c (arm_new_rtx_costs): Initialise cost to
COSTS_N_INSNS (1) and increment it appropriately throughout the
function.

From-SVN: r225537
gcc/ChangeLog
gcc/config/arm/arm.c