[Bug target/39027] double floating point suffix of 'd' and 'D' not accepted

2022-12-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=39027

--- Comment #6 from Andrew Pinski  ---
r0-92283-g839a3b8ab591c7

[Bug target/39027] double floating point suffix of 'd' and 'D' not accepted

2009-05-04 Thread janis at gcc dot gnu dot org


--- Comment #5 from janis at gcc dot gnu dot org  2009-05-04 19:55 ---
This was fixed in trunk, expected to become GCC 4.5.0, on 2009-04-01 as
revision 145422.  The ChangeLog entries have the correct PR number but the svn
log messages use 29027, which is why the checkins were not recorded here.


-- 

janis at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution||FIXED
   Target Milestone|--- |4.5.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39027



[Bug target/39027] double floating point suffix of 'd' and 'D' not accepted

2009-01-30 Thread janis at gcc dot gnu dot org


-- 

janis at gcc dot gnu dot org changed:

   What|Removed |Added

 CC||hjl dot tools at gmail dot
   ||com
 AssignedTo|unassigned at gcc dot gnu   |janis at gcc dot gnu dot org
   |dot org |
 Status|NEW |ASSIGNED
   Last reconfirmed|2009-01-29 21:57:00 |2009-01-30 20:50:51
   date||


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39027



[Bug target/39027] double floating point suffix of 'd' and 'D' not accepted

2009-01-29 Thread pinskia at gcc dot gnu dot org


--- Comment #1 from pinskia at gcc dot gnu dot org  2009-01-29 19:38 ---
I think you need to configure GCC with DFP support.

Defining __STDC_WANT_DEC_FP__ is not enough.


-- 

pinskia at gcc dot gnu dot org changed:

   What|Removed |Added

  Component|c   |target


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39027



[Bug target/39027] double floating point suffix of 'd' and 'D' not accepted

2009-01-29 Thread janis at gcc dot gnu dot org


--- Comment #2 from janis at gcc dot gnu dot org  2009-01-29 21:20 ---
In the C99 standard, floating constants are defined in section 6.4.4.2.  A
floating constant of type double is unsuffixed; there is no 'd' or 'D' suffix. 
Unless I'm missing something the test case is invalid.


-- 

janis at gcc dot gnu dot org changed:

   What|Removed |Added

 CC||janis at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39027



[Bug target/39027] double floating point suffix of 'd' and 'D' not accepted

2009-01-29 Thread tydeman at tybor dot com


--- Comment #3 from tydeman at tybor dot com  2009-01-29 21:52 ---
The Decimal Floating-Point Technical Report (WG14/N1176 and later) added
the suffixes 'd' and 'D' to indicate (binary) double, and 'dd' and 'DD' to 
indicate decimal double (_Decimal64).  The suffixes 'd' and 'D'
are in addition to unsuffixed decimal floating constants (all three
mean 'double').  This is pages 12 and 13 in N1176, section 7 Constants,
which is changing C99 section 6.4.4.2 floating-suffix.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39027



[Bug target/39027] double floating point suffix of 'd' and 'D' not accepted

2009-01-29 Thread janis at gcc dot gnu dot org


--- Comment #4 from janis at gcc dot gnu dot org  2009-01-29 21:57 ---
We missed that.  This is indeed a bug.


-- 

janis at gcc dot gnu dot org changed:

   What|Removed |Added

 CC||bje at gcc dot gnu dot org
 Status|UNCONFIRMED |NEW
 Ever Confirmed|0   |1
   Last reconfirmed|-00-00 00:00:00 |2009-01-29 21:57:00
   date||


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39027