From e7a097ea72d3295a1a1680ba05c4fc8242bae7f0 Mon Sep 17 00:00:00 2001 From: Jakub Jelinek <jakub@redhat.com> Date: Tue, 22 Aug 2023 16:13:44 +0200 Subject: [PATCH] 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 <jakub@redhat.com> PR c++/106652 * doc/extend.texi (_Float<n>): Drop obsolete sentence that the types aren't supported in C++. (cherry picked from commit 145da6a8e1ad60f048069012d81e37f84e1585fd) --- gcc/doc/extend.texi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi index a4c5fda9e71d..7a3b5454724a 100644 --- a/gcc/doc/extend.texi +++ b/gcc/doc/extend.texi @@ -1076,7 +1076,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 -- GitLab