aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJanis Johnson <janis187@us.ibm.com>2009-02-12 00:04:19 +0000
committerJanis Johnson <janis@gcc.gnu.org>2009-02-12 00:04:19 +0000
commit853eda8dac005c0705137942eccbed8bfb2b8fec (patch)
tree4201235b9a9f8bd2323b7097627328cd54a3da44 /gcc
parentfd97a96a1049407b248f9e6927f6021ba0e02115 (diff)
downloadgcc-853eda8dac005c0705137942eccbed8bfb2b8fec.zip
gcc-853eda8dac005c0705137942eccbed8bfb2b8fec.tar.gz
gcc-853eda8dac005c0705137942eccbed8bfb2b8fec.tar.bz2
extend.texi (Decimal Floating Types): Update identifier of draft TR and list of missing support.
* doc/extend.texi (Decimal Floating Types): Update identifier of draft TR and list of missing support. From-SVN: r144114
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/doc/extend.texi13
2 files changed, 16 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 8f65c78..5ad6a55 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2009-02-11 Janis Johnson <janis187@us.ibm.com>
+
+ * doc/extend.texi (Decimal Floating Types): Update identifier of
+ draft TR and list of missing support.
+
2009-02-11 Jakub Jelinek <jakub@redhat.com>
PR middle-end/39154
diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi
index 436a069..2a4aa56 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}