From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13307 invoked by alias); 29 Jan 2009 19:33:03 -0000 Received: (qmail 12983 invoked by uid 48); 29 Jan 2009 19:32:53 -0000 Date: Thu, 29 Jan 2009 19:33:00 -0000 Subject: [Bug c/39027] New: double floating point suffix of 'd' and 'D' not accepted X-Bugzilla-Reason: CC Message-ID: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "tydeman at tybor dot com" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2009-01/txt/msg03259.txt.bz2 With C command line option -std=gnu99 double floating-point constants with either 'd' or 'D' suffix are not accepted by gcc 4.3.2-7 running on Intel x86/x87 Pentium 4 running Fedora Core 10 Linux Part of gcc -v is: gcc version 4.3.2 20081105 (Red Hat 4.3.2-7) (GCC) #define __STDC_WANT_DEC_FP__ /* Tell implementation that we want Decimal FP */ double d1 = 1.0d; /* binary double (yes) versus decimal double (no) */ double d2 = 2.0D; gets error: invalid suffix "d" on floating constant error: invalid suffix "D" on floating constant -- Summary: double floating point suffix of 'd' and 'D' not accepted Product: gcc Version: 4.3.2 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: tydeman at tybor dot com GCC host triplet: 4.3.2 GCC target triplet: 4.3.2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39027