This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Committed: fix cris-elf build, rtx_costs update miss


Tsk tsk.  Committed after verifying that build passes this point.

	* config/cris/cris.c (cris_rtx_costs): Correct call to rtx_costs.

Index: config/cris/cris.c
===================================================================
--- config/cris/cris.c	(revision 139834)
+++ config/cris/cris.c	(working copy)
@@ -1834,7 +1834,7 @@ cris_rtx_costs (rtx x, int code, int out
           && !CONST_INT_P (XEXP (x, 0))
           && !CRIS_CONST_OK_FOR_LETTER_P (INTVAL (XEXP (x, 1)), 'I'))
 	{
-	  *total = (rtx_cost (XEXP (x, 0), outer_code) + 2
+	  *total = (rtx_cost (XEXP (x, 0), outer_code, speed) + 2
 		    + 2 * GET_MODE_NUNITS (GET_MODE (XEXP (x, 0))));
 	  return true;
 	}

brgds, H-P


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]