aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/fold-const.c3
2 files changed, 9 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index d07e23c..73c8da5 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,9 @@
+1999-11-29 Bernd Schmidt <bernds@cygnus.co.uk>
+
+ * fold-const.c [TARGET_FLOAT_FORMAT != IEEE_FLOAT_FORMAT]
+ (target_isinf, target_isnan, target_negative): Add return types to
+ function definitions.
+
1999-11-29 Bruce Korb <autogen@linuxbox.com>
* fixinc/fixincl.c(process): don't skip GLIBC files any more.
diff --git a/gcc/fold-const.c b/gcc/fold-const.c
index e48f0e2..5ce6212 100644
--- a/gcc/fold-const.c
+++ b/gcc/fold-const.c
@@ -858,6 +858,7 @@ target_negative (x)
/* Let's assume other float formats don't have infinity.
(This can be overridden by redefining REAL_VALUE_ISINF.) */
+int
target_isinf (x)
REAL_VALUE_TYPE x;
{
@@ -867,6 +868,7 @@ target_isinf (x)
/* Let's assume other float formats don't have NaNs.
(This can be overridden by redefining REAL_VALUE_ISNAN.) */
+int
target_isnan (x)
REAL_VALUE_TYPE x;
{
@@ -876,6 +878,7 @@ target_isnan (x)
/* Let's assume other float formats don't have minus zero.
(This can be overridden by redefining REAL_VALUE_NEGATIVE.) */
+int
target_negative (x)
REAL_VALUE_TYPE x;
{