This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "gcc-wwwdocs".
The branch, master has been updated
via 00375b05cab56f9a7eada2d11c536dcfa3bf7126 (commit)
from b7239536496d5ad936dcd8590affbc0ded7403d5 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 00375b05cab56f9a7eada2d11c536dcfa3bf7126
Author: Jakub Jelinek <[email protected]>
Date: Wed Nov 26 16:30:30 2025 +0100
Tweak for -std=gnu++20 being the C++ default.
diff --git a/htdocs/projects/cxx-status.html b/htdocs/projects/cxx-status.html
index 838b318b..e97dbc15 100644
--- a/htdocs/projects/cxx-status.html
+++ b/htdocs/projects/cxx-status.html
@@ -719,20 +719,20 @@
<h2 id="cxx20">C++20 Support in GCC</h2>
- <p id="cxx2a">GCC has experimental support for the previous revision of the
C++
- standard, which was published in 2020.
+ <p id="cxx2a">GCC has almost full support for the previous revision of the
+ C++ standard, which was published in 2020.
The status of C++20 library features is described in
<a
href="https://gcc.gnu.org/onlinedocs/libstdc++/manual/status.html#status.iso.2020">the
library documentation</a>.</p>
- <p>C++20 features are available since GCC 8. To enable C++20
- support, add the command-line parameter <code>-std=c++20</code>
- (use <code>-std=c++2a</code> in GCC 9 and earlier)
- to your <code>g++</code> command line. Or, to enable GNU
- extensions in addition to C++20 features,
- add <code>-std=gnu++20</code>.</p>
-
- <p><strong>Important</strong>: Because the ISO C++20 standard is
- recent, GCC's support is <strong>experimental</strong>.</p>
+ <p>C++20 mode is the default since GCC 16; it can be explicitly selected
+ with the <code>-std=c++20</code> command-line flag, or
+ <code>-std=gnu++20</code> to enable GNU extensions as well
+ (use <code>-std=c++2a</code> in GCC 9 and earlier).
+ Some C++20 features are available since GCC 8, but support was experimental
+ and the ABI of C++20 features was not stable until GCC 16.
+ C++20 modules support is still <strong>experimental</strong> and needs to be
+ enabled by <code>-fmodules</code> command-line flag.
+ </p>
<h2>C++20 Language Features</h2>
@@ -1309,8 +1309,8 @@
<a
href="https://gcc.gnu.org/onlinedocs/libstdc++/manual/status.html#status.iso.2017">the
library documentation</a>.
</p>
- <p>C++17 mode is the default since GCC 11; it can be explicitly selected
- with the <code>-std=c++17</code> command-line flag, or
+ <p>This mode is the default in GCC 11 up until GCC 15 (inclusive); it can be
+ explicitly selected with the <code>-std=c++17</code> command-line flag, or
<code>-std=gnu++17</code> to enable GNU extensions as well.
Some C++17 features are available since GCC 5, but support was experimental
and the ABI of C++17 features was not stable until GCC 9.
-----------------------------------------------------------------------
Summary of changes:
htdocs/projects/cxx-status.html | 26 +++++++++++++-------------
1 file changed, 13 insertions(+), 13 deletions(-)
hooks/post-receive
--
gcc-wwwdocs