aboutsummaryrefslogtreecommitdiff
path: root/gcc/dfp.h
diff options
context:
space:
mode:
authorBen Elliston <bje@gcc.gnu.org>2006-02-06 09:59:35 +1100
committerBen Elliston <bje@gcc.gnu.org>2006-02-06 09:59:35 +1100
commit0b59f49d59928689e9816c89d3b02765f9ac49ba (patch)
treec3b9af79340ab1e3ba155a442af7121b99af6cb0 /gcc/dfp.h
parent3ded621059e0edd541e3b5b921d8e499d7e668f5 (diff)
downloadgcc-0b59f49d59928689e9816c89d3b02765f9ac49ba.zip
gcc-0b59f49d59928689e9816c89d3b02765f9ac49ba.tar.gz
gcc-0b59f49d59928689e9816c89d3b02765f9ac49ba.tar.bz2
dfp.c (decimal_real_arithmetic): Change second argument type from int to enum tree_code.
* dfp.c (decimal_real_arithmetic): Change second argument type from int to enum tree_code. Do not always return true, but now return result of any call to decimal_do helper functions. * dfp.h (decimal_real_arithmetic): Update prototype. From-SVN: r110626
Diffstat (limited to 'gcc/dfp.h')
-rw-r--r--gcc/dfp.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/dfp.h b/gcc/dfp.h
index d7f5b01..fd28d40 100644
--- a/gcc/dfp.h
+++ b/gcc/dfp.h
@@ -1,5 +1,5 @@
/* Decimal floating point support functions for GNU compiler.
- Copyright (C) 2005 Free Software Foundation, Inc.
+ Copyright (C) 2005, 2006 Free Software Foundation, Inc.
This file is part of GCC.
@@ -38,7 +38,7 @@ void decimal_round_for_format (const struct real_format *, REAL_VALUE_TYPE *);
void decimal_real_convert (REAL_VALUE_TYPE *, enum machine_mode, const REAL_VALUE_TYPE *);
void decimal_real_to_decimal (char *, const REAL_VALUE_TYPE *, size_t, size_t, int);
void decimal_do_fix_trunc (REAL_VALUE_TYPE *, const REAL_VALUE_TYPE *);
-bool decimal_real_arithmetic (REAL_VALUE_TYPE *, int, const REAL_VALUE_TYPE *,
+bool decimal_real_arithmetic (REAL_VALUE_TYPE *, enum tree_code, const REAL_VALUE_TYPE *,
const REAL_VALUE_TYPE *);
void decimal_real_maxval (REAL_VALUE_TYPE *, int, enum machine_mode);
void decimal_real_to_integer2 (HOST_WIDE_INT *, HOST_WIDE_INT *, const REAL_VALUE_TYPE *);