summaryrefslogtreecommitdiffstats
path: root/contrib/gcc/libgcc2.c
diff options
context:
space:
mode:
authorkan <kan@FreeBSD.org>2002-10-10 04:50:29 +0000
committerkan <kan@FreeBSD.org>2002-10-10 04:50:29 +0000
commit029dcab170879d3b9e9bb90bbf64e4b03a919917 (patch)
tree1d13663ad373dd43118a9b088472ac82acc3829d /contrib/gcc/libgcc2.c
parent84c8b4559699bd65591ff9651ef6706bb8c031a4 (diff)
downloadFreeBSD-src-029dcab170879d3b9e9bb90bbf64e4b03a919917.zip
FreeBSD-src-029dcab170879d3b9e9bb90bbf64e4b03a919917.tar.gz
Use the stock 3.2.1-prerelease file.
Approved by: obrien
Diffstat (limited to 'contrib/gcc/libgcc2.c')
-rw-r--r--contrib/gcc/libgcc2.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/contrib/gcc/libgcc2.c b/contrib/gcc/libgcc2.c
index fe93de3..322ee92 100644
--- a/contrib/gcc/libgcc2.c
+++ b/contrib/gcc/libgcc2.c
@@ -1,7 +1,7 @@
/* More subroutines needed by GCC output code on some machines. */
/* Compile this one with gcc. */
/* Copyright (C) 1989, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
- 2000, 2001 Free Software Foundation, Inc.
+ 2000, 2001, 2002 Free Software Foundation, Inc.
This file is part of GCC.
@@ -38,8 +38,6 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA
#include "tconfig.h"
#include "tsystem.h"
-#include "machmode.h"
-
/* Don't use `fancy_abort' here even if config.h says to use it. */
#ifdef abort
#undef abort
@@ -1119,7 +1117,10 @@ __floatdisf (DWtype u)
&& u < ((DWtype) 1 << DF_SIZE)))
{
if ((UDWtype) u & (REP_BIT - 1))
- u |= REP_BIT;
+ {
+ u &= ~ (REP_BIT - 1);
+ u |= REP_BIT;
+ }
}
}
f = (Wtype) (u >> WORD_SIZE);
OpenPOWER on IntegriCloud