diff options
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/config/arm/arm.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 34253d3..79f38b7f 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2008-09-04 Paul Brook <paul@codesourcery.com> + + * config/arm/arm.c (arm_size_rtx_costs): Call cost function. + 2008-09-04 Bernd Schmidt <bernd.schmidt@analog.com> * 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 ec28f79..0edba77 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 |