This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: V3 PATCH: Fix PR3988
- To: Franz Sirl <Franz dot Sirl-kernel at lauterbach dot com>
- Subject: Re: V3 PATCH: Fix PR3988
- From: Gabriel Dos Reis <gdr at codesourcery dot com>
- Date: 14 Aug 2001 23:53:28 +0200
- Cc: Mark Mitchell <mark at codesourcery dot com>, gcc-patches at gcc dot gnu dot org, libstdc++ at gcc dot gnu dot org
- Organization: CodeSourcery, LLC
- References: <20010813152452T.mitchell@codesourcery.com> <200108142147.XAA20070@mayo.cmla.ens-cachan.fr>
Franz Sirl <Franz.Sirl-kernel@lauterbach.com> writes:
| On Tuesday 14 August 2001 00:24, Mark Mitchell wrote:
| > The new limits stuff was accidentally thinking that the x86 had a long
| > double type with 128 bits of precision, when really the precision is
| > 80 bits. Here's the fix.
| >
| > Tested on i686-pc-linux-gnu, installed on the branch and on the
| > mainline.
|
| Hmm, don't we need the same stuff for powerpc too? AFAIK long double ==
| double still on PPC, so __glibcpp_long_double_bits has to be set to 64. This
| happens for powerpc64 (in config/os/gnu-linux/bits/os_defines.h), but not for
| powerpc.
Would you mind to provide a patch that defines the correct size?
Thanks,
-- Gaby
CodeSourcery, LLC http://www.codesourcery.com