From ab8d3606bbe67bce8900931e8b2a03d24c2b8beb Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Thu, 21 Nov 2024 09:40:37 +0100 Subject: 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 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. --- gcc/doc/invoke.texi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gcc/doc/invoke.texi') diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index 8f53df7..c62c6bc 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -2479,8 +2479,8 @@ applied with @option{-std=c11}) and a new value of @item c23 @itemx c2x @itemx iso9899:2024 -ISO C23, the 2023 revision of the ISO C standard (expected to be -published in 2024). The name @samp{c2x} is deprecated. +ISO C23, the 2023 revision of the ISO C standard (published in 2024). The +name @samp{c2x} is deprecated. @item c2y The next version of the ISO C standard, still under development. The -- cgit v1.1