]> gcc.gnu.org Git - gcc.git/commitdiff
* config/cris/cris.c (cris_rtx_costs): Correct call to rtx_costs.
authorHans-Peter Nilsson <hp@axis.com>
Sun, 31 Aug 2008 18:33:51 +0000 (18:33 +0000)
committerHans-Peter Nilsson <hp@gcc.gnu.org>
Sun, 31 Aug 2008 18:33:51 +0000 (18:33 +0000)
From-SVN: r139840

gcc/ChangeLog
gcc/config/cris/cris.c

index 4f7a34df0e24196240361075a4c374120d592045..816130d25336daf6516feabc4c95b2ba4dfd992a 100644 (file)
@@ -1,3 +1,7 @@
+2008-08-31  Hans-Peter Nilsson  <hp@axis.com>
+
+       * config/cris/cris.c (cris_rtx_costs): Correct call to rtx_costs.
+
 2008-08-31  Aaron W. LaFramboise  <aaronavay62@aaronwl.com>
 
        * gthr-win32.h (__gthread_setspecific): Use CONST_CAST2.
index ff177f41f04289bf7008b94c7e4e4bfdc3075288..1d0a34b9abbbf2112e87860cda87f9763c229463 100644 (file)
@@ -1834,7 +1834,7 @@ cris_rtx_costs (rtx x, int code, int outer_code, int *total,
           && !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;
        }
This page took 0.133046 seconds and 5 git commands to generate.