From 71062f1eb1d80f078873c97468d485024f7e8171 Mon Sep 17 00:00:00 2001 From: Paul Brook Date: Thu, 4 Sep 2008 16:43:24 +0000 Subject: [PATCH] arm.c (arm_size_rtx_costs): Call cost function. 2008-09-04 Paul Brook * config/arm/arm.c (arm_size_rtx_costs): Call cost function. From-SVN: r139990 --- gcc/ChangeLog | 4 ++++ gcc/config/arm/arm.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 34253d3c961..79f38b7f036 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2008-09-04 Paul Brook + + * config/arm/arm.c (arm_size_rtx_costs): Call cost function. + 2008-09-04 Bernd Schmidt * config/bfin/bfin.c (bfin_function_ok_for_sibcall): Restore a null diff --git a/gcc/config/arm/arm.c b/gcc/config/arm/arm.c index ec28f79446f..0edba771e61 100644 --- a/gcc/config/arm/arm.c +++ b/gcc/config/arm/arm.c @@ -5391,7 +5391,7 @@ arm_rtx_costs (rtx x, int code, int outer_code, int *total, bool speed) if (!speed) return arm_size_rtx_costs (x, code, outer_code, total); else - return all_cores[(int)arm_tune].rtx_costs; + return all_cores[(int)arm_tune].rtx_costs (x, code, outer_code, total); } /* RTX costs for cores with a slow MUL implementation. Thumb-2 is not -- 2.30.2