From: Jakub Jelinek Date: Tue, 22 Aug 2023 14:13:44 +0000 (+0200) Subject: doc: Remove obsolete sentence about _Float* not being supported in C++ [PR106652] X-Git-Tag: basepoints/gcc-15~6754 X-Git-Url: https://gcc.gnu.org/git/?a=commitdiff_plain;h=145da6a8e1ad60f048069012d81e37f84e1585fd;p=gcc.git doc: Remove obsolete sentence about _Float* not being supported in C++ [PR106652] As mentioned in the PR, these types are supported in C++ since GCC 13, so we shouldn't confuse users. 2023-08-22 Jakub Jelinek PR c++/106652 * doc/extend.texi (_Float): Drop obsolete sentence that the types aren't supported in C++. --- diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi index f657032cbef2..7693158506b4 100644 --- a/gcc/doc/extend.texi +++ b/gcc/doc/extend.texi @@ -1084,7 +1084,7 @@ infinities, NaNs and negative zeros are involved. ISO/IEC TS 18661-3:2015 defines C support for additional floating types @code{_Float@var{n}} and @code{_Float@var{n}x}, and GCC supports these type names; the set of types supported depends on the target -architecture. These types are not supported when compiling C++. +architecture. Constants with these types use suffixes @code{f@var{n}} or @code{F@var{n}} and @code{f@var{n}x} or @code{F@var{n}x}. These type names can be used together with @code{_Complex} to declare complex