This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Committed: fix cris-elf build, rtx_costs update miss
- From: Hans-Peter Nilsson <hans-peter dot nilsson at axis dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Sun, 31 Aug 2008 20:36:10 +0200
- Subject: 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