diff options
author | Joseph Myers <josmyers@redhat.com> | 2024-10-30 18:50:11 +0000 |
---|---|---|
committer | Joseph Myers <josmyers@redhat.com> | 2024-10-30 18:50:11 +0000 |
commit | 857145bf9a2168c8037820148b8894fbd74a823b (patch) | |
tree | 3db4945736dddc289e167a30c586b39032bd4c58 /gcc | |
parent | aad9de322774c25e80f3ade6ecd96f45b62bf40a (diff) | |
download | gcc-857145bf9a2168c8037820148b8894fbd74a823b.zip gcc-857145bf9a2168c8037820148b8894fbd74a823b.tar.gz gcc-857145bf9a2168c8037820148b8894fbd74a823b.tar.bz2 |
c: Do not document C23 support as experimental and incomplete
Since C23 support is substantially feature-complete, update
documentation to no longer refer to it as experimental and incomplete.
Bootstrapped with no regressions for x86_64-pc-linux-gnu.
gcc/
* doc/cpp.texi (__STDC_VERSION__): Do not refer to C23 support as
experimental.
* doc/invoke.texi (std=c23, std=gnu23): Do not document as
experimental and incomplete.
* doc/standards.texi: Do not refer to C23 support as experimental
and incomplete.
gcc/c-family/
* c.opt (std=c23, std=gnu23, std=iso9899:2024): Do not mark as
experimental and incomplete.
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/c-family/c.opt | 6 | ||||
-rw-r--r-- | gcc/doc/cpp.texi | 2 | ||||
-rw-r--r-- | gcc/doc/invoke.texi | 6 | ||||
-rw-r--r-- | gcc/doc/standards.texi | 6 |
4 files changed, 9 insertions, 11 deletions
diff --git a/gcc/c-family/c.opt b/gcc/c-family/c.opt index 3fd331c..e2c0108 100644 --- a/gcc/c-family/c.opt +++ b/gcc/c-family/c.opt @@ -2590,7 +2590,7 @@ Conform to the ISO 2017 C standard (published in 2018). std=c23 C ObjC -Conform to the ISO 2023 C standard draft (expected to be published in 2024) (experimental and incomplete support). +Conform to the ISO 2023 C standard draft (expected to be published in 2024). std=c2x C ObjC Alias(std=c23) @@ -2692,7 +2692,7 @@ Conform to the ISO 2017 C standard (published in 2018) with GNU extensions. std=gnu23 C ObjC -Conform to the ISO 2023 C standard draft (expected to be published in 2024) with GNU extensions (experimental and incomplete support). +Conform to the ISO 2023 C standard draft (expected to be published in 2024) with GNU extensions. std=gnu2x C ObjC Alias(std=gnu23) @@ -2748,7 +2748,7 @@ Conform to the ISO 2017 C standard (published in 2018). std=iso9899:2024 C ObjC Alias(std=c23) -Conform to the ISO 2023 C standard draft (expected to be published in 2024) (experimental and incomplete support). +Conform to the ISO 2023 C standard draft (expected to be published in 2024). stdlib= Driver C++ ObjC++ Common Condition(ENABLE_STDLIB_OPTION) Var(flag_stdlib_kind) Joined Enum(stdlib_kind) RejectNegative Init(1) diff --git a/gcc/doc/cpp.texi b/gcc/doc/cpp.texi index db3a075..a83aa26 100644 --- a/gcc/doc/cpp.texi +++ b/gcc/doc/cpp.texi @@ -1887,7 +1887,7 @@ the 1999 revision of the C standard; the value @code{201112L} signifies the 2011 revision of the C standard; the value @code{201710L} signifies the 2017 revision of the C standard (which is otherwise identical to the 2011 version apart from correction of -defects). The value @code{202311L} is used for the experimental +defects). The value @code{202311L} is used for the @option{-std=c23} and @option{-std=gnu23} modes. An unspecified value larger than @code{202311L} is used for the experimental @option{-std=c2y} and @option{-std=gnu2y} modes. diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index 07920e0..19c148a 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -2480,8 +2480,7 @@ applied with @option{-std=c11}) and a new value of @itemx c2x @itemx iso9899:2024 ISO C23, the 2023 revision of the ISO C standard (expected to be -published in 2024). The support for this version is experimental and -incomplete. The name @samp{c2x} is deprecated. +published in 2024). The name @samp{c2x} is deprecated. @item c2y The next version of the ISO C standard, still under development. The @@ -2506,8 +2505,7 @@ GNU dialect of ISO C17. This is the default for C code. @item gnu23 @itemx gnu2x -GNU dialect of ISO C23. The support for this version is experimental -and incomplete. The name @samp{gnu2x} is deprecated. +GNU dialect of ISO C23. The name @samp{gnu2x} is deprecated. @item gnu2y The next version of the ISO C standard, still under development, plus diff --git a/gcc/doc/standards.texi b/gcc/doc/standards.texi index 484fbb1..4ef28e9 100644 --- a/gcc/doc/standards.texi +++ b/gcc/doc/standards.texi @@ -115,10 +115,10 @@ known as @dfn{C17} and is supported with @option{-std=c17} or @option{-std=c11}, and the only difference between the options is the value of @code{__STDC_VERSION__}. -A fifth version of the C standard, known as @dfn{C23}, is under -development and expected to be published in 2024 as ISO/IEC 9899:2024. +A fifth version of the C standard, known as @dfn{C23}, is +expected to be published in 2024 as ISO/IEC 9899:2024. (While in development, drafts of this standard version were referred -to as @dfn{C2X}.) Experimental and incomplete support for this is +to as @dfn{C2X}.) Support for this is enabled with @option{-std=c23} or @option{-std=iso9899:2024}. A further version of the C standard, known as @dfn{C2Y}, is under |