summaryrefslogtreecommitdiff
path: root/gcc/dfp.h
diff options
context:
space:
mode:
authorkrebbel <krebbel@138bc75d-0d04-0410-961f-82ee72b054a4>2007-03-19 08:45:29 +0000
committerkrebbel <krebbel@138bc75d-0d04-0410-961f-82ee72b054a4>2007-03-19 08:45:29 +0000
commit3b55c03680e1e2b5d6b362d05f7956b77f2e2140 (patch)
treea5edddef30a4656e6b89a8548fe4ceaef9e57477 /gcc/dfp.h
parent55d19f3617da01201772bfc2030ec7ab8b008734 (diff)
downloadgcc-3b55c03680e1e2b5d6b362d05f7956b77f2e2140.tar.gz
2007-03-19 Andreas Krebbel <krebbel1@de.ibm.com>
* genemit.c (main): Print include statement for dfp.h. * dfp.h (decimal_real_arithmetic): Hide prototype if tree_code enum is not available. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123054 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/dfp.h')
-rw-r--r--gcc/dfp.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/gcc/dfp.h b/gcc/dfp.h
index fd28d40816d..81b4cb6eb8b 100644
--- a/gcc/dfp.h
+++ b/gcc/dfp.h
@@ -38,10 +38,13 @@ 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 *, 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 *);
HOST_WIDE_INT decimal_real_to_integer (const REAL_VALUE_TYPE *);
+#ifdef TREE_CODE
+bool decimal_real_arithmetic (REAL_VALUE_TYPE *, enum tree_code, const REAL_VALUE_TYPE *,
+ const REAL_VALUE_TYPE *);
+#endif
+
#endif /* GCC_DFP_H */