From 0e86dff0b308db1be79e013b6be1aa4c66bce250 Mon Sep 17 00:00:00 2001 From: janis Date: Thu, 12 Feb 2009 00:04:19 +0000 Subject: [PATCH] * doc/extend.texi (Decimal Floating Types): Update identifier of draft TR and list of missing support. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144114 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ChangeLog | 5 +++++ gcc/doc/extend.texi | 13 +++++++++++-- 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 8f65c785480..5ad6a550c21 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2009-02-11 Janis Johnson + + * doc/extend.texi (Decimal Floating Types): Update identifier of + draft TR and list of missing support. + 2009-02-11 Jakub Jelinek PR middle-end/39154 diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi index 436a0693675..2a4aa56a2cf 100644 --- a/gcc/doc/extend.texi +++ b/gcc/doc/extend.texi @@ -930,7 +930,7 @@ is supported on x86_64 and ia64 targets. @cindex @code{DL} integer suffix As an extension, the GNU C compiler supports decimal floating types as -defined in the N1176 draft of ISO/IEC WDTR24732. Support for decimal +defined in the N1312 draft of ISO/IEC WDTR24732. Support for decimal floating types in GCC will evolve as the draft technical report changes. Calling conventions for any target might also change. Not all targets support decimal floating types. @@ -953,12 +953,21 @@ is incomplete: @itemize @bullet @item -Translation time data type (TTDT) is not supported. +Pragma @code{FLOAT_CONST_DECIMAL64} is not supported, nor is the @samp{d} +suffix for literal constants of type @code{double}. @item When the value of a decimal floating type cannot be represented in the integer type to which it is being converted, the result is undefined rather than the result value specified by the draft technical report. + +@item +GCC does not provide the C library functionality associated with +@file{math.h}, @file{fenv.h}, @file{stdio.h}, @file{stdlib.h}, and +@file{wchar.h}, which must come from a separate C library implementation. +Because of this the GNU C compiler does not define macro +@code{__STDC_DEC_FP__} to indicate that the implementation conforms to +the technical report. @end itemize Types @code{_Decimal32}, @code{_Decimal64}, and @code{_Decimal128} -- 2.11.4.GIT