https://gcc.gnu.org/g:54805df7d2f28a19e4e51e2b825da595bf9a96aa

commit r17-6554-g54805df7d2f28a19e4e51e2b825da595bf9a96aa
Author: Jakub Jelinek <[email protected]>
Date:   Sat Nov 21 14:09:17 2026 +0100

    libstdc++: Bump __cpp_lib_clmul
    
    I've committed the clmul patch some days ago with the FTM intentionally
    lowered just in case the paper undergoes substantial changes.
    For simd part that would be even useful but we don't have that
    implemented yet.
    
    This patch just updates it to the final one.
    
    2026-11-21  Jakub Jelinek  <[email protected]>
    
            * include/bits/version.def (clmul): Bump FTM to 202611.
            * include/bits/version.h: Regenerate.
            * include/std/numeric: Use #ifdef __glibcxx_clmul rather than
            #if __glibcxx_clmul > 202610L.
            * testsuite/26_numerics/clmul/1.cc: Expect __cpp_lib_clmul 202611.
    
    Reviewed-by: Jonathan Wakely <[email protected]>

Diff:
---
 libstdc++-v3/include/bits/version.def         | 2 +-
 libstdc++-v3/include/bits/version.h           | 4 ++--
 libstdc++-v3/include/std/numeric              | 2 +-
 libstdc++-v3/testsuite/26_numerics/clmul/1.cc | 2 +-
 4 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/libstdc++-v3/include/bits/version.def 
b/libstdc++-v3/include/bits/version.def
index 555a43f4dcbf..d3cf2f31c307 100644
--- a/libstdc++-v3/include/bits/version.def
+++ b/libstdc++-v3/include/bits/version.def
@@ -2712,7 +2712,7 @@ ftms = {
 ftms = {
   name = clmul;
   values = {
-    v = 202610;
+    v = 202611;
     cxxmin = 29;
   };
 };
diff --git a/libstdc++-v3/include/bits/version.h 
b/libstdc++-v3/include/bits/version.h
index 8e3e190466e5..e52ab6cbdd83 100644
--- a/libstdc++-v3/include/bits/version.h
+++ b/libstdc++-v3/include/bits/version.h
@@ -2993,9 +2993,9 @@
 
 #if !defined(__cpp_lib_clmul)
 # if (__cplusplus >  202603L)
-#  define __glibcxx_clmul 202610L
+#  define __glibcxx_clmul 202611L
 #  if defined(__glibcxx_want_all) || defined(__glibcxx_want_clmul)
-#   define __cpp_lib_clmul 202610L
+#   define __cpp_lib_clmul 202611L
 #  endif
 # endif
 #endif /* !defined(__cpp_lib_clmul) */
diff --git a/libstdc++-v3/include/std/numeric b/libstdc++-v3/include/std/numeric
index 6dbea81e846d..f83e25550857 100644
--- a/libstdc++-v3/include/std/numeric
+++ b/libstdc++-v3/include/std/numeric
@@ -766,7 +766,7 @@ namespace ranges
 } // namespace ranges
 #endif // __glibcxx_ranges_iota
 
-#if __glibcxx_clmul >= 202610L // C++29
+#ifdef __glibcxx_clmul // C++29
   template<typename _Tp>
     class wide_result {
     public:
diff --git a/libstdc++-v3/testsuite/26_numerics/clmul/1.cc 
b/libstdc++-v3/testsuite/26_numerics/clmul/1.cc
index f1490d52a572..f603820c0b20 100644
--- a/libstdc++-v3/testsuite/26_numerics/clmul/1.cc
+++ b/libstdc++-v3/testsuite/26_numerics/clmul/1.cc
@@ -4,7 +4,7 @@
 
 #ifndef __cpp_lib_clmul
 # error "Feature-test macro for clmul missing in <numeric>"
-#elif __cpp_lib_clmul != 202610L
+#elif __cpp_lib_clmul != 202611L
 # error "Feature-test macro for clmul has wrong value in <numeric>"
 #endif

Reply via email to