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.
This commit is contained in:
Joseph Myers 2024-10-30 18:50:11 +00:00
parent aad9de3227
commit 857145bf9a
4 changed files with 9 additions and 11 deletions

View file

@ -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)

View file

@ -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.

View file

@ -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

View file

@ -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