Patchwork committed: Fix target/44732

login
register
mail settings
Submitter Joern Rennecke
Date July 1, 2010, 12:40 p.m.
Message ID <20100701084024.g5laa7trdccc0w4s-nzlynne@webmail.spamcop.net>
Download mbox | patch
Permalink /patch/57545/
State New
Headers show

Comments

Joern Rennecke - July 1, 2010, 12:40 p.m.
Tested by Richard Guenther by bootstrapping through stage2.
Committed as obvious.
2010-07-01  Joern Rennecke  <joern.rennecke@embecosm.com>

	* config/ia64/ia64.c (ia64_register_move_cost): Fix argument types.

Patch

Index: ia64.c
===================================================================
--- ia64.c	(revision 161658)
+++ ia64.c	(working copy)
@@ -210,8 +210,8 @@  static bool ia64_return_in_memory (const
 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 out
    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;