aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Stump <mrs@gcc.gnu.org>1996-10-16 18:41:27 +0000
committerMike Stump <mrs@gcc.gnu.org>1996-10-16 18:41:27 +0000
commitc8507ba06b74b058357b484e7a400da11935954c (patch)
tree7aaee42b07a729778be152eef51d2718e5a92430
parent600139d3eaa20facd03b9d06096ef49ba1ef25d3 (diff)
downloadgcc-c8507ba06b74b058357b484e7a400da11935954c.zip
gcc-c8507ba06b74b058357b484e7a400da11935954c.tar.gz
gcc-c8507ba06b74b058357b484e7a400da11935954c.tar.bz2
* exlsi.h (CHECK_FLOAT_VALUE): Removed.
From-SVN: r12970
-rw-r--r--gcc/config/elxsi/elxsi.h21
1 files changed, 0 insertions, 21 deletions
diff --git a/gcc/config/elxsi/elxsi.h b/gcc/config/elxsi/elxsi.h
index 7a7e757..d0d4c73 100644
--- a/gcc/config/elxsi/elxsi.h
+++ b/gcc/config/elxsi/elxsi.h
@@ -689,27 +689,6 @@ enum reg_class { NO_REGS, GENERAL_REGS, ALL_REGS, LIM_REG_CLASSES };
/* #define UDIVSI3_LIBCALL "*udiv" */
/* #define UMODSI3_LIBCALL "*urem" */
-
-/* Check a `double' value for validity for a particular machine mode. */
-
-/* Note that it is very hard to accidentally create a number that fits in a
- double but not in a float, since their ranges are almost the same. */
-#define CHECK_FLOAT_VALUE(mode, d) \
- if ((mode) == SFmode) \
- { \
- if ((d) > 1.7014117331926443e+38) \
- { error ("magnitude of constant too large for `float'"); \
- (d) = 1.7014117331926443e+38; } \
- else if ((d) < -1.7014117331926443e+38) \
- { error ("magnitude of constant too large for `float'"); \
- (d) = -1.7014117331926443e+38; } \
- else if (((d) > 0) && ((d) < 2.9387358770557188e-39)) \
- { warning ("`float' constant truncated to zero"); \
- (d) = 0.0; } \
- else if (((d) < 0) && ((d) > -2.9387358770557188e-39)) \
- { warning ("`float' constant truncated to zero"); \
- (d) = 0.0; } \
- }
/* Tell final.c how to eliminate redundant test instructions. */