public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/39027]  New: double floating point suffix of 'd' and 'D' not accepted
@ 2009-01-29 19:33 tydeman at tybor dot com
  2009-01-29 19:39 ` [Bug target/39027] " pinskia at gcc dot gnu dot org
                   ` (5 more replies)
  0 siblings, 6 replies; 8+ messages in thread
From: tydeman at tybor dot com @ 2009-01-29 19:33 UTC (permalink / raw)
  To: gcc-bugs

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


^ permalink raw reply	[flat|nested] 8+ messages in thread
[parent not found: <bug-39027-4@http.gcc.gnu.org/bugzilla/>]

end of thread, other threads:[~2022-12-04  4:23 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-01-29 19:33 [Bug c/39027] New: double floating point suffix of 'd' and 'D' not accepted tydeman at tybor dot com
2009-01-29 19:39 ` [Bug target/39027] " pinskia at gcc dot gnu dot org
2009-01-29 21:20 ` janis at gcc dot gnu dot org
2009-01-29 21:52 ` tydeman at tybor dot com
2009-01-29 21:57 ` janis at gcc dot gnu dot org
2009-01-30 20:51 ` janis at gcc dot gnu dot org
2009-05-04 19:55 ` janis at gcc dot gnu dot org
     [not found] <bug-39027-4@http.gcc.gnu.org/bugzilla/>
2022-12-04  4:23 ` pinskia at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).