From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8537 invoked by alias); 19 Nov 2001 02:36:01 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 8447 invoked by uid 71); 19 Nov 2001 02:36:00 -0000 Resent-Date: 19 Nov 2001 02:36:00 -0000 Resent-Message-ID: <20011119023600.8446.qmail@sourceware.cygnus.com> Resent-From: gcc-gnats@gcc.gnu.org (GNATS Filer) Resent-To: nobody@gcc.gnu.org Resent-Cc: gcc-prs@gcc.gnu.org, gcc-bugs@gcc.gnu.org Resent-Reply-To: gcc-gnats@gcc.gnu.org, nzook@bga.com Received:(qmail 26080 invoked by uid 61); 19 Nov 2001 02:27:39 -0000 Message-Id:<20011119022739.26079.qmail@sourceware.cygnus.com> Date: Mon, 12 Nov 2001 20:16:00 -0000 From: nzook@bga.com Reply-To: nzook@bga.com To: gcc-gnats@gcc.gnu.org X-Send-Pr-Version:gnatsweb-2.9.2 (1.1.1.1.2.21) Subject: other/4894: gcc/config/float-i386.h bad define? X-SW-Source: 2001-11/txt/msg00272.txt.bz2 List-Id: >Number: 4894 >Category: other >Synopsis: gcc/config/float-i386.h bad define? >Confidential: no >Severity: serious >Priority: medium >Responsible: unassigned >State: open >Class: wrong-code >Submitter-Id: net >Arrival-Date: Sun Nov 18 18:36:00 PST 2001 >Closed-Date: >Last-Modified: >Originator: nzook@bga.com >Release: gcc-3.0.1 >Organization: >Environment: i*86 >Description: from ${SRCDIR}/gcc/config/float-i386.h: #if __STDC_VERSION__ >= 199901L ... /* Number of decimal digits to enable rounding to the given number of decimal digits without loss of precision. if FLT_RADIX == 10^n: #mantissa * log10 (FLT_RADIX) else : ceil (1 + #mantissa * log10 (FLT_RADIX)) where #mantissa is the number of bits in the mantissa of the widest supported floating-point type. */ # undef DECIMAL_DIG # define DECIMAL_DIG 21 #endif /* C99 */ >How-To-Repeat: >Fix: I don't care what the C standard says, NO x87 processor has ever supported more than 64 mantissas bits in an external format. Internal fromats have usually been 66 bits. (K7 is 68). This redefinition is WRONG. It should be dropped before something breaks. >Release-Note: >Audit-Trail: >Unformatted: