aboutsummaryrefslogtreecommitdiff
path: root/gcc/c-family
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2024-11-21 09:40:37 +0100
committerJakub Jelinek <jakub@gcc.gnu.org>2024-11-21 09:40:37 +0100
commitab8d3606bbe67bce8900931e8b2a03d24c2b8beb (patch)
tree8347b14bf697421167f421137da5752d37609ed2 /gcc/c-family
parent05ab9447fe80e5b1450192e21f3116890d38ecc7 (diff)
downloadgcc-ab8d3606bbe67bce8900931e8b2a03d24c2b8beb.zip
gcc-ab8d3606bbe67bce8900931e8b2a03d24c2b8beb.tar.gz
gcc-ab8d3606bbe67bce8900931e8b2a03d24c2b8beb.tar.bz2
c-family, docs: Adjust descriptions/documentation for C23 publication
As C23 has been published already https://www.iso.org/standard/82075.html we don't need to say that it is expected to be published etc. Furthermore, standards.texi was still documenting that -std=gnu17 is the default. 2024-11-21 Jakub Jelinek <jakub@redhat.com> gcc/ * doc/invoke.texi (-std=c23): Adjust documentation for publication of the ISO/IEC 9899:2024 standard. * doc/standards.texi: Likewise. Document -std=gnu17 and -std=gnu23 options. Mention that -std=gnu23 rather than -std=gnu17 is now the default for C. gcc/c-family/ * c.opt (std=c23, std=gnu23, std=iso9899:2024): Adjust description for publication of the ISO/IEC 9899:2024 standard.
Diffstat (limited to 'gcc/c-family')
-rw-r--r--gcc/c-family/c.opt6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/c-family/c.opt b/gcc/c-family/c.opt
index 220421a..65cb8e5 100644
--- a/gcc/c-family/c.opt
+++ b/gcc/c-family/c.opt
@@ -2605,7 +2605,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).
+Conform to the ISO 2023 C standard (published in 2024).
std=c2x
C ObjC Alias(std=c23)
@@ -2707,7 +2707,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.
+Conform to the ISO 2023 C standard (published in 2024) with GNU extensions.
std=gnu2x
C ObjC Alias(std=gnu23)
@@ -2763,7 +2763,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).
+Conform to the ISO 2023 C standard (published in 2024).
stdlib=
Driver C++ ObjC++ Common Condition(ENABLE_STDLIB_OPTION) Var(flag_stdlib_kind) Joined Enum(stdlib_kind) RejectNegative Init(1)