OSDN Git Service

2004-07-21 David S. Miller <davem@nuts.davemloft.net>
authordavem <davem@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 21 Jul 2004 21:42:29 +0000 (21:42 +0000)
committerdavem <davem@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 21 Jul 2004 21:42:29 +0000 (21:42 +0000)
* config/sparc/sparc.c (sparc_rtx_costs): Fix typo in previous
commit.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85020 138bc75d-0d04-0410-961f-82ee72b054a4

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

index 1904899..40ebced 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 97ef054..fccfd3f 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;