[janitor patch] remove #if 0 code from config/fp-bit.c
Nathanael Nerode
neroden@twcny.rr.com
Sun Jun 15 05:06:00 GMT 2003
Looks like more leftover cruft.
* fp-bit.c: Remove '#if 0' code.
Index: fp-bit.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/fp-bit.c,v
retrieving revision 1.42
diff -u -r1.42 fp-bit.c
--- fp-bit.c 15 Jun 2003 04:00:45 -0000 1.42
+++ fp-bit.c 15 Jun 2003 05:04:20 -0000
@@ -873,21 +873,7 @@
high |= 1;
low <<= 1;
}
- /* rounding is tricky. if we only round if it won't make us round later. */
-#if 0
- if (low & FRACHIGH2)
- {
- if (((high & GARDMASK) != GARDMSB)
- && (((high + 1) & GARDMASK) == GARDMSB))
- {
- /* don't round, it gets done again later. */
- }
- else
- {
- high++;
- }
- }
-#endif
+ /* rounding is tricky. */
if (!ROUND_TOWARDS_ZERO && (high & GARDMASK) == GARDMSB)
{
if (high & (1 << NGARDS))
@@ -1048,14 +1034,6 @@
int
__fpcmp_parts (fp_number_type * a, fp_number_type * b)
{
-#if 0
- /* either nan -> unordered. Must be checked outside of this routine. */
- if (isnan (a) && isnan (b))
- {
- return 1; /* still unordered! */
- }
-#endif
-
if (isnan (a) || isnan (b))
{
return 1; /* how to indicate unordered compare? */
More information about the Gcc-patches
mailing list