summaryrefslogtreecommitdiff
path: root/gcc/dfp.h
diff options
context:
space:
mode:
authorbje <bje@138bc75d-0d04-0410-961f-82ee72b054a4>2006-02-05 22:59:35 +0000
committerbje <bje@138bc75d-0d04-0410-961f-82ee72b054a4>2006-02-05 22:59:35 +0000
commitfb90b44027e6b166e4bf10e760adaed588817843 (patch)
treec3b9af79340ab1e3ba155a442af7121b99af6cb0 /gcc/dfp.h
parentdded0b23aa5a0244d674977a8df7ce3c3d6a8202 (diff)
downloadgcc-fb90b44027e6b166e4bf10e760adaed588817843.tar.gz
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@110626 138bc75d-0d04-0410-961f-82ee72b054a4
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 d7f5b01cc7d..fd28d40816d 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 *);