This patch adds a mention of -std=c2x and associated options, and the single new C2X feature supported (given the early stage of C2X development when we left development stage 1), to the GCC 9 release notes.
Committed. Index: gcc-9/changes.html =================================================================== RCS file: /cvs/gcc/wwwdocs/htdocs/gcc-9/changes.html,v retrieving revision 1.61 diff -u -r1.61 changes.html --- gcc-9/changes.html 2 May 2019 12:19:27 -0000 1.61 +++ gcc-9/changes.html 2 May 2019 20:18:44 -0000 @@ -402,6 +402,17 @@ <h3 id="c">C</h3> <ul> + <li>There is now experimental support for <code>-std=c2x</code>, to + select support for the upcoming C2X revision of the ISO C + standard. This standard is in the early stages of development and + the only feature supported in GCC 9 is <code>_Static_assert</code> + with a single argument (support for <code>_Static_assert</code> with two + arguments was added in C11 and GCC 4.6). There are also new + options <code>-std=gnu2x</code>, for C2X with GNU extensions, + and <code>-Wc11-c2x-compat</code>, to warn for uses of features + added in C2X (such warnings are also enabled by use + of <code>-Wpedantic</code> if not using <code>-std=c2x</code> + or <code>-std=gnu2x</code>).</li> <li>New warnings: <ul> <li><a href="https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wabsolute-value"><code>-Wabsolute-value</code></a> -- Joseph S. Myers jos...@codesourcery.com