https://gcc.gnu.org/bugzilla/show_bug.cgi?id=39027
--- Comment #6 from Andrew Pinski ---
r0-92283-g839a3b8ab591c7
--- 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
--
janis at gcc dot gnu dot org changed:
What|Removed |Added
CC||hjl dot tools at gmail dot
|
--- 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
--- 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.
--
--- 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
--- 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