aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid S. Miller <davem@nuts.davemloft.net>2004-07-21 21:42:29 +0000
committerDavid S. Miller <davem@gcc.gnu.org>2004-07-21 14:42:29 -0700
commitbf6c40e92d589b24583ef6e5494bd17a78c13033 (patch)
tree8636cfc97c4ec3d579477774c8be9506e4d39810
parentcaf93cb0d55b2a7d00eee250b5880a53205eef7c (diff)
downloadgcc-bf6c40e92d589b24583ef6e5494bd17a78c13033.zip
gcc-bf6c40e92d589b24583ef6e5494bd17a78c13033.tar.gz
gcc-bf6c40e92d589b24583ef6e5494bd17a78c13033.tar.bz2
sparc.c (sparc_rtx_costs): Fix typo in previous commit.
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
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/sparc/sparc.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 1904899..40ebced 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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
diff --git a/gcc/config/sparc/sparc.c b/gcc/config/sparc/sparc.c
index 97ef054..fccfd3f 100644
--- a/gcc/config/sparc/sparc.c
+++ b/gcc/config/sparc/sparc.c
@@ -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;