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  4ce2216a28350a90ad8b196bf77cd6283bb5f2bc (commit)
       via  d995bd72a855bd57345abad1047e46649a27ee94 (commit)
      from  7f13232181871566454a1f1d41ac6189bfb7f6f8 (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 4ce2216a28350a90ad8b196bf77cd6283bb5f2bc
Author: Jonathan Wakely <[email protected]>
Date:   Mon Apr 27 16:25:01 2026 +0100

    Add some more C++26 library features

diff --git a/htdocs/gcc-16/changes.html b/htdocs/gcc-16/changes.html
index 3104164c..b1085206 100644
--- a/htdocs/gcc-16/changes.html
+++ b/htdocs/gcc-16/changes.html
@@ -352,11 +352,14 @@ struct Affected : E
     <li>
       <code>ranges::starts_with</code> and <code>ranges::ends_with</code>.
     </li>
+    <li><code>std::allocator_traits::allocate_at_least</code>.</li>
     </ul>
   </li>
   <li>Improved experimental support for C++26, including:
     <ul>
+    <li><code>std::simd</code>.</li>
     <li><code>std::inplace_vector</code>.</li>
+    <li><code>std::optional&lt;T&amp;&gt;</code>.</li>
     <li>
       <code>std::copyable_function</code> and <code>std::function_ref</code>.
     </li>
@@ -374,6 +377,8 @@ struct Affected : E
       <code>std::constant_wrapper</code>, and <code>std::submdspan</code>
       thanks to Luc Grosheintz.
     </li>
+    <li><code>std::philox_engine</code>, thanks to 1nfocalypse.</li>
+    <li><code>std::atomic_ref::address()</code>, thanks to Yuao Ma.</li>
     </ul>
   </li>
 </ul>

commit d995bd72a855bd57345abad1047e46649a27ee94
Author: Jonathan Wakely <[email protected]>
Date:   Fri Apr 17 22:12:43 2026 +0100

    Document change to -std=gnu++20 and non-experimental C++20 support

diff --git a/htdocs/gcc-16/changes.html b/htdocs/gcc-16/changes.html
index 85940731..3104164c 100644
--- a/htdocs/gcc-16/changes.html
+++ b/htdocs/gcc-16/changes.html
@@ -202,6 +202,16 @@ for general information.</p>
 <h3 id="cxx">C++</h3>
 
 <ul>
+  <li>C++20 by default: GCC 16 changes the default language version
+    for C++ compilation from
+    <a 
href="https://gcc.gnu.org/onlinedocs/gcc/C-Dialect-Options.html#index-std-1";>-std=gnu++17</a>
+    to
+    <a 
href="https://gcc.gnu.org/onlinedocs/gcc/C-Dialect-Options.html#index-std-1";>-std=gnu++20</a>.
+    If your code relies on older versions of the C++ standard, you will need to
+    either add
+    <a 
href="https://gcc.gnu.org/onlinedocs/gcc/C-Dialect-Options.html#index-std-1";>-std=</a>
+    to your build flags, or port your code; see <a 
href="porting_to.html#cxx23">the porting notes</a>.
+  </li>
   <li>Several C++26 features have been implemented:
     <ul>
       <li><a href="https://wg21.link/P2996R13";>P2996R13</a>, Reflection
@@ -293,8 +303,11 @@ struct Affected : E
     C++17 mode.
   </li>
  
-  <li>Improved experimental support for C++20, including:
+  <li>Improved support for C++20, including:
     <ul>
+    <li>
+      The C++20 implementation is no longer experimental.
+    </li>
     <li>
       Working <code>std::chrono::current_zone()</code> on Windows
       (thanks to Björn Schäpers).
@@ -329,9 +342,9 @@ struct Affected : E
         Representation of some range adaptors in <code>&lt;ranges&gt;</code>.
       </li>
     </ul>
-    This list is not necessarily complete. As with all experimental support,
-    programs using C++20 components should assume that those components
-    are not compatible between different major releases.
+    This list is not necessarily complete. As C++20 support was experimental
+    before GCC 16, programs using C++20 components should assume that those
+    components are not compatible with older releases.
   </li>
   <li>Improved experimental support for C++23, including:
     <ul>

-----------------------------------------------------------------------

Summary of changes:
 htdocs/gcc-16/changes.html | 26 ++++++++++++++++++++++----
 1 file changed, 22 insertions(+), 4 deletions(-)


hooks/post-receive
-- 
gcc-wwwdocs

Reply via email to