From c21fc18136c7dfe9a87b225a8fab0aac12f0add4 Mon Sep 17 00:00:00 2001 From: Joern Rennecke Date: Thu, 1 Jul 2010 12:35:37 +0000 Subject: [PATCH] * config/ia64/ia64.c (ia64_register_move_cost): Fix argument types. From-SVN: r161667 --- gcc/ChangeLog | 2 ++ gcc/config/ia64/ia64.c | 8 ++++---- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index e1c6e860651..f7142fcbb5e 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -14,6 +14,8 @@ PR target/44732 * config/ia64/ia64.c (ia64_register_move_cost): Remove stray '{'. + * config/ia64/ia64.c (ia64_register_move_cost): Fix argument types. + 2010-07-01 Bernd Schmidt PR target/44727 diff --git a/gcc/config/ia64/ia64.c b/gcc/config/ia64/ia64.c index 98340a95c6b..7df747bf986 100644 --- a/gcc/config/ia64/ia64.c +++ b/gcc/config/ia64/ia64.c @@ -210,8 +210,8 @@ static bool ia64_return_in_memory (const_tree, const_tree); static rtx ia64_function_value (const_tree, const_tree, bool); static rtx ia64_libcall_value (enum machine_mode, const_rtx); static bool ia64_function_value_regno_p (const unsigned int); -static int ia64_register_move_cost (enum machine_mode, enum reg_class, - enum reg_class); +static int ia64_register_move_cost (enum machine_mode, reg_class_t, + reg_class_t); static bool ia64_rtx_costs (rtx, int, int, int *, bool); static int ia64_unspec_may_trap_p (const_rtx, unsigned); static void fix_range (const char *); @@ -5207,8 +5207,8 @@ ia64_rtx_costs (rtx x, int code, int outer_code, int *total, one in class TO, using MODE. */ static int -ia64_register_move_cost (enum machine_mode mode, enum reg_class from_i, - enum reg_class to_i) +ia64_register_move_cost (enum machine_mode mode, reg_class_t from_i, + reg_class_t to_i) { enum reg_class from = (enum reg_class) from_i; enum reg_class to = (enum reg_class) to_i;