[gcc r9-10185] libstdc++: Fix status docs for <bit> support

Jonathan Wakely redi@gcc.gnu.org
Mon May 16 14:27:44 GMT 2022


https://gcc.gnu.org/g:882739c259fa2a0dcce58b501c140e3ef0bf1e5d

commit r9-10185-g882739c259fa2a0dcce58b501c140e3ef0bf1e5d
Author: Jonathan Wakely <jwakely@redhat.com>
Date:   Mon May 16 15:26:34 2022 +0100

    libstdc++: Fix status docs for <bit> support
    
    libstdc++-v3/ChangeLog:
    
            * doc/html/manual/status.html: Regenerate.
            * doc/xml/manual/status_cxx2020.xml: Fix supported version for
            C++20 bit operations and power-of-two operations.
    
    (cherry picked from commit 64648821f151b0f86e16185bef7f0be5635fd737)

Diff:
---
 libstdc++-v3/doc/html/manual/status.html       |  7 +++++--
 libstdc++-v3/doc/xml/manual/status_cxx2020.xml | 12 +++++++++++-
 2 files changed, 16 insertions(+), 3 deletions(-)

diff --git a/libstdc++-v3/doc/html/manual/status.html b/libstdc++-v3/doc/html/manual/status.html
index e303f570e87..8f754758270 100644
--- a/libstdc++-v3/doc/html/manual/status.html
+++ b/libstdc++-v3/doc/html/manual/status.html
@@ -1025,7 +1025,10 @@ Feature-testing recommendations for C++</a>.
         <a class="link" href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2017/p0463r1.html" target="_top">
 	P0463R1
 	</a>
-      </td><td align="center"> 8.1 </td><td align="left"> </td></tr><tr bgcolor="#C8B0B0"><td align="left">  Extending <code class="code">make_shared</code> to Support Arrays </td><td align="left">
+      </td><td align="center"> 8.1 </td><td align="left"> </td></tr><tr><td align="left"> Bit operations </td><td align="left">
+        <a class="link" href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2019/p0553r4.html" target="_top">
+        P0553R4 </a>
+      </td><td align="center"> 9.1 </td><td align="left"> <code class="code">__cpp_lib_bitops >= 201907L</code> (macro only defined since 9.4) </td></tr><tr bgcolor="#C8B0B0"><td align="left">  Extending <code class="code">make_shared</code> to Support Arrays </td><td align="left">
         <a class="link" href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2017/p0674r1.html" target="_top">
 	P0674R1
 	</a>
@@ -1150,7 +1153,7 @@ Feature-testing recommendations for C++</a>.
         <a class="link" href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2018/p0556r3.html" target="_top">
 	P0556R3
 	</a>
-      </td><td align="center"> 9.1 </td><td align="left"> </td></tr><tr bgcolor="#C8B0B0"><td align="left">  Reviewing Deprecated Facilities of C++17 for C++20 </td><td align="left">
+      </td><td align="center"> 9.1 </td><td align="left"> <code class="code">__cpp_lib_int_pow2 >= 201806L</code> (macro only defined since 9.4) </td></tr><tr bgcolor="#C8B0B0"><td align="left">  Reviewing Deprecated Facilities of C++17 for C++20 </td><td align="left">
         <a class="link" href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2018/p0619r4.html" target="_top">
 	P0619R4
 	</a>
diff --git a/libstdc++-v3/doc/xml/manual/status_cxx2020.xml b/libstdc++-v3/doc/xml/manual/status_cxx2020.xml
index fc7fe0a3d9f..a4dfeb200f0 100644
--- a/libstdc++-v3/doc/xml/manual/status_cxx2020.xml
+++ b/libstdc++-v3/doc/xml/manual/status_cxx2020.xml
@@ -64,6 +64,16 @@ Feature-testing recommendations for C++</link>.
       <entry />
     </row>
 
+    <row>
+      <entry> Bit operations </entry>
+      <entry>
+        <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2019/p0553r4.html">
+        P0553R4 </link>
+      </entry>
+      <entry align="center"> 9.1 </entry>
+      <entry> <code>__cpp_lib_bitops >= 201907L</code> (macro only defined since 9.4) </entry>
+    </row>
+
     <row>
       <?dbhtml bgcolor="#C8B0B0" ?>
       <entry>  Extending <code>make_shared</code> to Support Arrays </entry>
@@ -421,7 +431,7 @@ Feature-testing recommendations for C++</link>.
 	</link>
       </entry>
       <entry align="center"> 9.1 </entry>
-      <entry />
+      <entry> <code>__cpp_lib_int_pow2 >= 201806L</code> (macro only defined since 9.4) </entry>
     </row>
 
     <row>


More information about the Libstdc++-cvs mailing list