I've checked our C99 status table against the list in Annex M.5 in C23 (n3220). I found no issues.
This patch renames the title of our C status page in preparation for adding C11 and C23 lists. W3 validated. Ok? --- htdocs/projects/c-status.html | 27 ++++++++++++++++++++++++--- 1 file changed, 24 insertions(+), 3 deletions(-) diff --git a/htdocs/projects/c-status.html b/htdocs/projects/c-status.html index 85adb158..ea5ebc4b 100644 --- a/htdocs/projects/c-status.html +++ b/htdocs/projects/c-status.html @@ -3,12 +3,27 @@ <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> -<title>Status of C99 features in GCC</title> +<title>C Standards Support in GCC</title> <link rel="stylesheet" type="text/css" href="https://gcc.gnu.org/gcc.css"> </head> <body> -<h1>Status of C99 features in GCC</h1> +<h1>C Standards Support in GCC</h1> + +GCC supports different dialects of C, corresponding to the multiple +published ISO standards. A particular standard can be selected using +the <code>-std=</code> command-line option. + +<ul> + <li><a href="#c90">C90</a></li> + <li><a href="#c99">C99</a></li> + <li>C11</li> + <li>C17</li> + <li>C23</li> + <li>C2y</li> +</ul> + +<h2 id="c99">C99 Support in GCC</h2> <p>C99 is substantially completely supported as of GCC 4.5 (with <code>-std=c99 -pedantic-errors</code> used; @@ -371,6 +386,12 @@ GCC 3.0, even if there is no specific note regarding corner cases.</p> </table> +<h2 id="c90">C90 Support in GCC</h2> + +GCC has support for ISO C90; it can be explicitly selected with the +<code>-std=c90</code> command-line flag, or <code>-std=gnu90</code> +to enable GNU extensions as well. + <h2>Further notes</h2> <ul> @@ -405,7 +426,7 @@ with each other and with string literals, but currently don't.</li> <li>The information provided by <code>static</code> in parameter array declarators is not used for optimization. It might make sense to use -it in future in conjunction with <a href="projects/prefetch.html">work +it in future in conjunction with <a href="prefetch.html">work on prefetching</a>.</li> </ul> -- 2.49.0