public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/39027] double floating point suffix of 'd' and 'D' not accepted
[not found] <bug-39027-4@http.gcc.gnu.org/bugzilla/>
@ 2022-12-04 4:23 ` pinskia at gcc dot gnu.org
0 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu.org @ 2022-12-04 4:23 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=39027
--- Comment #6 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
r0-92283-g839a3b8ab591c7
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug target/39027] double floating point suffix of 'd' and 'D' not accepted
2009-01-29 19:33 [Bug c/39027] New: " tydeman at tybor dot com
` (4 preceding siblings ...)
2009-01-30 20:51 ` janis at gcc dot gnu dot org
@ 2009-05-04 19:55 ` janis at gcc dot gnu dot org
5 siblings, 0 replies; 7+ messages in thread
From: janis at gcc dot gnu dot org @ 2009-05-04 19:55 UTC (permalink / raw)
To: gcc-bugs
------- 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
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug target/39027] double floating point suffix of 'd' and 'D' not accepted
2009-01-29 19:33 [Bug c/39027] New: " tydeman at tybor dot com
` (3 preceding siblings ...)
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
5 siblings, 0 replies; 7+ messages in thread
From: janis at gcc dot gnu dot org @ 2009-01-30 20:51 UTC (permalink / raw)
To: gcc-bugs
--
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
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug target/39027] double floating point suffix of 'd' and 'D' not accepted
2009-01-29 19:33 [Bug c/39027] New: " tydeman at tybor dot com
` (2 preceding siblings ...)
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
5 siblings, 0 replies; 7+ messages in thread
From: janis at gcc dot gnu dot org @ 2009-01-29 21:57 UTC (permalink / raw)
To: gcc-bugs
------- 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|0000-00-00 00:00:00 |2009-01-29 21:57:00
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39027
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug target/39027] double floating point suffix of 'd' and 'D' not accepted
2009-01-29 19:33 [Bug c/39027] New: " 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
` (2 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: tydeman at tybor dot com @ 2009-01-29 21:52 UTC (permalink / raw)
To: gcc-bugs
------- 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
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug target/39027] double floating point suffix of 'd' and 'D' not accepted
2009-01-29 19:33 [Bug c/39027] New: " 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
` (3 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: janis at gcc dot gnu dot org @ 2009-01-29 21:20 UTC (permalink / raw)
To: gcc-bugs
------- 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
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug target/39027] double floating point suffix of 'd' and 'D' not accepted
2009-01-29 19:33 [Bug c/39027] New: " tydeman at tybor dot com
@ 2009-01-29 19:39 ` pinskia at gcc dot gnu dot org
2009-01-29 21:20 ` janis at gcc dot gnu dot org
` (4 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2009-01-29 19:39 UTC (permalink / raw)
To: gcc-bugs
------- 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
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2022-12-04 4:23 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <bug-39027-4@http.gcc.gnu.org/bugzilla/>
2022-12-04 4:23 ` [Bug target/39027] double floating point suffix of 'd' and 'D' not accepted pinskia at gcc dot gnu.org
2009-01-29 19:33 [Bug c/39027] New: " 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
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).