sparc.c (sparc_rtx_costs): Fix typo in previous commit.
authorDavid S. Miller <davem@nuts.davemloft.net>
Wed, 21 Jul 2004 21:42:29 +0000 (21:42 +0000)
committerDavid S. Miller <davem@gcc.gnu.org>
Wed, 21 Jul 2004 21:42:29 +0000 (14:42 -0700)
2004-07-21  David S. Miller  <davem@nuts.davemloft.net>

* config/sparc/sparc.c (sparc_rtx_costs): Fix typo in previous
commit.

From-SVN: r85020

gcc/ChangeLog
gcc/config/sparc/sparc.c

index 1904899db2f183a5d058db4064919cadd743c109..40ebced760984b1a4af735670a0c882ebc6658d9 100644 (file)
@@ -1,3 +1,8 @@
+2004-07-21  David S. Miller  <davem@nuts.davemloft.net>
+
+       * config/sparc/sparc.c (sparc_rtx_costs): Fix typo in previous
+       commit.
+
 2004-07-21  Eric Christopher  <echristo@redhat.com>
 
        * builtins.c (expand_builtin_setjmp_receiver): Fix comment for code
index 97ef05428934d654640c55d6474dce181e630a7c..fccfd3fff2c5ef3e584e2a58c29d2852fbc764aa 100644 (file)
@@ -8384,7 +8384,7 @@ sparc_rtx_costs (rtx x, int code, int outer_code, int *total)
       if (float_mode_p)
        *total = sparc_costs->float_mul;
       else if (! TARGET_HARD_MUL)
-       return COSTS_N_INSNS (25);
+       *total = COSTS_N_INSNS (25);
       else
        {
          int bit_cost;