public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/39033] New: DEC_EVAL_METHOD missing from <float.h>
@ 2009-01-30 1:05 tydeman at tybor dot com
2009-01-30 1:12 ` [Bug c/39033] " pinskia at gcc dot gnu dot org
2009-01-30 1:14 ` [Bug other/39033] " pinskia at gcc dot gnu dot org
0 siblings, 2 replies; 3+ messages in thread
From: tydeman at tybor dot com @ 2009-01-30 1:05 UTC (permalink / raw)
To: gcc-bugs
Using gcc 4.3.2-7 on Intel Pentium running Linux Fedora Core 10
with -std=gnu99 of
/* DFP TR 24732 == WG14 / N1176, N1312 */
#define __STDC_WANT_DEC_FP__ /* Tell implementation that we want Decimal FP */
#include <float.h> /* DEC_EVAL_METHOD */
#ifndef DEC_EVAL_METHOD
#error Missing DEC_EVAL_METHOD
#endif
int main(void){
return 0;
}
gets:
. /usr/lib/gcc/i386-redhat-linux/4.3.2/include/float.h
test3.c:6:2: error: #error Missing DEC_EVAL_METHOD
--
Summary: DEC_EVAL_METHOD missing from <float.h>
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=39033
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug c/39033] DEC_EVAL_METHOD missing from <float.h>
2009-01-30 1:05 [Bug c/39033] New: DEC_EVAL_METHOD missing from <float.h> tydeman at tybor dot com
@ 2009-01-30 1:12 ` pinskia at gcc dot gnu dot org
2009-01-30 1:14 ` [Bug other/39033] " pinskia at gcc dot gnu dot org
1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2009-01-30 1:12 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from pinskia at gcc dot gnu dot org 2009-01-30 01:12 -------
/* The floating-point expression evaluation method.
-1 indeterminate
0 evaluate all operations and constants just to the range and
precision of the type
1 evaluate operations and constants of type _Decimal32
and _Decimal64 to the range and precision of the _Decimal64
type, evaluate _Decimal128 operations and constants to the
range and precision of the _Decimal128 type;
2 evaluate all operations and constants to the range and
precision of the _Decimal128 type. */
#undef DEC_EVAL_METHOD
#define DEC_EVAL_METHOD __DEC_EVAL_METHOD__
It is there on the trunk.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39033
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug other/39033] DEC_EVAL_METHOD missing from <float.h>
2009-01-30 1:05 [Bug c/39033] New: DEC_EVAL_METHOD missing from <float.h> tydeman at tybor dot com
2009-01-30 1:12 ` [Bug c/39033] " pinskia at gcc dot gnu dot org
@ 2009-01-30 1:14 ` pinskia at gcc dot gnu dot org
1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2009-01-30 1:14 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from pinskia at gcc dot gnu dot org 2009-01-30 01:13 -------
Fixed by:
http://gcc.gnu.org/ml/gcc-patches/2008-09/msg00944.html
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Component|c |other
Resolution| |FIXED
Target Milestone|--- |4.4.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39033
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-01-30 1:14 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-01-30 1:05 [Bug c/39033] New: DEC_EVAL_METHOD missing from <float.h> tydeman at tybor dot com
2009-01-30 1:12 ` [Bug c/39033] " pinskia at gcc dot gnu dot org
2009-01-30 1:14 ` [Bug other/39033] " pinskia 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).