From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2181) id 101BE3858417; Mon, 18 Mar 2024 14:03:46 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 101BE3858417 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1710770627; bh=Z9DHnVBZpdMKzMRU/uBcpkmXjFjciFzq+EaeWTB/IbQ=; h=From:To:Subject:Date:From; b=QfKpRxyz98MFMY5JyoTQ6D+aV7fH2KZrzXPDVgzstJHcPuyXpqB7lsJkCilI3Nlp8 jZEZ28HY6ECtgCdR3Ys+8VR9yvMTqbt1GIK1QJyTCpQLfHKPVuZCUu2aywKbmFVqqt qU/6tKGD5/LhHqhalnAxzsBzAlwy4RXJE+l0pwCY= MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="utf-8" From: Jonathan Wakely To: gcc-cvs@gcc.gnu.org, libstdc++-cvs@gcc.gnu.org Subject: [gcc r12-10226] libstdc++: Correct notes about std::call_once in manual [PR66146] X-Act-Checkin: gcc X-Git-Author: Jonathan Wakely X-Git-Refname: refs/heads/releases/gcc-12 X-Git-Oldrev: a0bca5584725153ad560b97a33a07e3c56f6f953 X-Git-Newrev: 415457babf04d077929956ea97132448b0dc4b2c Message-Id: <20240318140347.101BE3858417@sourceware.org> Date: Mon, 18 Mar 2024 14:03:46 +0000 (GMT) List-Id: https://gcc.gnu.org/g:415457babf04d077929956ea97132448b0dc4b2c commit r12-10226-g415457babf04d077929956ea97132448b0dc4b2c Author: Jonathan Wakely Date: Thu Mar 14 11:52:17 2024 +0000 libstdc++: Correct notes about std::call_once in manual [PR66146] The bug with exceptions thrown during a std::call_once call affects all targets, so fix the docs that say it only affects non-Linux targets. libstdc++-v3/ChangeLog: PR libstdc++/66146 * doc/xml/manual/status_cxx2011.xml: Remove mention of Linux in note about std::call_once. * doc/xml/manual/status_cxx2014.xml: Likewise. * doc/xml/manual/status_cxx2017.xml: Likewise. * doc/html/manual/status.html: Regenerate. (cherry picked from commit e6836bbbd7a01af0791c02087e568b4822418c0d) Diff: --- libstdc++-v3/doc/html/manual/status.html | 6 +++--- libstdc++-v3/doc/xml/manual/status_cxx2011.xml | 2 +- libstdc++-v3/doc/xml/manual/status_cxx2014.xml | 2 +- libstdc++-v3/doc/xml/manual/status_cxx2017.xml | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/libstdc++-v3/doc/html/manual/status.html b/libstdc++-v3/doc/html/manual/status.html index 76d7d58a831..a6494912c07 100644 --- a/libstdc++-v3/doc/html/manual/status.html +++ b/libstdc++-v3/doc/html/manual/status.html @@ -217,7 +217,7 @@ not in any particular release. 30 Thread support - 30.1GeneralY 30.2RequirementsY 30.3Threads  30.3.1Class threadPartialthread::id comparisons not well-defined30.3.2Namespace this_threadY 30.4Mutual exclusion  30.4.1Mutex requirements  30.4.1.1In general  30.4.1.2Mutex types  30.4.1.2.1Class mutexY 30.4.1.2.2Class recursive_mutexY 30.4.1.3Timed mutex types  30.4.1.3.1Class timed_mutexY 30.4.1.3.2Class recursive_timed_mutexY 30.4.2Locks  30.4.2.1Class template lock_guardY 30.4.2.2Class template unique_lockY 30.4.3Generic locking algorithmsY 30.4.4Call once  30.4.4.1Struct once_flagY 30.4.4.2Function call_onceYException support is broken on non-Linux targets. + 30.1GeneralY 30.2RequirementsY 30.3Threads  30.3.1Class threadPartialthread::id comparisons not well-defined30.3.2Namespace this_threadY 30.4Mutual exclusion  30.4.1Mutex requirements  30.4.1.1In general  30.4.1.2Mutex types  30.4.1.2.1Class mutexY 30.4.1.2.2Class recursive_mutexY 30.4.1.3Timed mutex types  30.4.1.3.1Class timed_mutexY 30.4.1.3.2Class recursive_timed_mutexY 30.4.2Locks  30.4.2.1Class template lock_guardY 30.4.2.2Class template unique_lockY 30.4.3Generic locking algorithmsY 30.4.4Call once  30.4.4.1Struct once_flagY 30.4.4.2Function call_onceYException support is broken. See PR 66146. 30.5Condition variablesY 30.5.1Class condition_variableY 30.5.2Class condition_variable_anyY 30.6Futures  30.6.1Overview  30.6.2Error handlingY 30.6.3Class future_errorY 30.6.4Shared stateY 30.6.5Class template promiseY 30.6.6Class template futureY 30.6.7Class template shared_futureY 30.6.8Function template asyncY 30.6.9Class template packaged_taskY  @@ -490,7 +490,7 @@ not in any particular release. 30 Thread support - 30.1GeneralY 30.2RequirementsY 30.3Threads  30.3.1Class threadPartialthread::id comparisons not well-defined30.3.2Namespace this_threadY 30.4Mutual exclusion  30.4.1Mutex requirements  30.4.1.1In general  30.4.1.2Mutex types  30.4.1.2.1Class mutexY 30.4.1.2.2Class recursive_mutexY 30.4.1.3Timed mutex types  30.4.1.3.1Class timed_mutexY 30.4.1.3.2Class recursive_timed_mutexY 30.4.1.4Shared timed mutex types  30.4.1.4.1Class shared_timed_mutexY 30.4.2Locks  30.4.2.1Class template lock_guardY 30.4.2.2Class template unique_lockY 30.4.2.3Class template shared_lockY 30.4.3Generic locking algorithmsY 30.4.4Call once  30.4.4.1Struct once_flagY 30.4.4.2Function call_onceBrokenException support is broken on non-Linux targets. + 30.1GeneralY 30.2RequirementsY 30.3Threads  30.3.1Class threadPartialthread::id comparisons not well-defined30.3.2Namespace this_threadY 30.4Mutual exclusion  30.4.1Mutex requirements  30.4.1.1In general  30.4.1.2Mutex types  30.4.1.2.1Class mutexY 30.4.1.2.2Class recursive_mutexY 30.4.1.3Timed mutex types  30.4.1.3.1Class timed_mutexY 30.4.1.3.2Class recursive_timed_mutexY 30.4.1.4Shared timed mutex types  30.4.1.4.1Class shared_timed_mutexY 30.4.2Locks  30.4.2.1Class template lock_guardY 30.4.2.2Class template unique_lockY 30.4.2.3Class template shared_lockY 30.4.3Generic locking algorithmsY 30.4.4Call once  30.4.4.1Struct once_flagY 30.4.4.2Function call_onceBrokenException support is broken. See PR 66146. 30.5Condition variablesY 30.5.1Class condition_variableY 30.5.2Class condition_variable_anyY 30.6Futures  30.6.1Overview  30.6.2Error handlingY 30.6.3Class future_errorY 30.6.4Shared stateY 30.6.5Class template promiseY 30.6.6Class template futureY 30.6.7Class template shared_futureY 30.6.8Function template asyncY 30.6.9Class template packaged_taskY  @@ -967,7 +967,7 @@ since C++14 and the implementation is complete. 33 Thread support - 33.1GeneralY 33.2RequirementsY 33.3Threads  33.3.1Header thread synopsis  33.3.2Class threadY 33.3.2.1Class threadPartialthread::id comparisons not well-defined33.3.3Namespace this_threadY 33.4Mutual exclusion  33.4.3Mutex requirements  33.4.3.1In general  33.4.3.2Mutex types  33.4.3.2.1Class mutexY 33.4.3.2.2Class recursive_mutexY 33.4.3.3Timed mutex types  33.4.3.3.1Class timed_mutexY 33.4.3.3.2Class recursive_timed_mutexY 33.4.3.4Shared mutex types  33.4.3.4.1Class shared_mutexY 33.4.3.5Shared timed mutex types  33.4.3.5.1Class shared_timed_mutexY 33.4.4Locks  33.4.4.1Class template lock_guardY 33.4.4.2Class template scoped_guardY 33.4.4.3Class template unique_lockY 33.4.4.4Class template shared_lockY 33.4.5Generic locking algorithmsY 33.4.6Call once  33.4.6.1Struct once_flagY 33.4.6.2Function call_onceYException support is broken on non-Linux targets. + 33.1GeneralY 33.2RequirementsY 33.3Threads  33.3.1Header thread synopsis  33.3.2Class threadY 33.3.2.1Class threadPartialthread::id comparisons not well-defined33.3.3Namespace this_threadY 33.4Mutual exclusion  33.4.3Mutex requirements  33.4.3.1In general  33.4.3.2Mutex types  33.4.3.2.1Class mutexY 33.4.3.2.2Class recursive_mutexY 33.4.3.3Timed mutex types  33.4.3.3.1Class timed_mutexY 33.4.3.3.2Class recursive_timed_mutexY 33.4.3.4Shared mutex types  33.4.3.4.1Class shared_mutexY 33.4.3.5Shared timed mutex types  33.4.3.5.1Class shared_timed_mutexY 33.4.4Locks  33.4.4.1Class template lock_guardY 33.4.4.2Class template scoped_guardY 33.4.4.3Class template unique_lockY 33.4.4.4Class template shared_lockY 33.4.5Generic locking algorithmsY 33.4.6Call once  33.4.6.1Struct once_flagY 33.4.6.2Function call_onceYException support is broken. See PR 66146. 33.5Condition variablesY 33.5.1Class condition_variableY 33.5.2Class condition_variable_anyY 33.6Futures  33.6.1Overview  33.6.2Header <future>  33.6.3Error handlingY 33.6.4Class future_errorY 33.6.5Shared stateY 33.6.6Class template promiseY 33.6.7Class template futureY 33.6.8Class template shared_futureY 33.6.9Function template asyncY 33.6.10Class template packaged_taskY  diff --git a/libstdc++-v3/doc/xml/manual/status_cxx2011.xml b/libstdc++-v3/doc/xml/manual/status_cxx2011.xml index 3e02e01d899..d929d4b5bac 100644 --- a/libstdc++-v3/doc/xml/manual/status_cxx2011.xml +++ b/libstdc++-v3/doc/xml/manual/status_cxx2011.xml @@ -2404,7 +2404,7 @@ not in any particular release. 30.4.4.2 Function call_once Y - Exception support is broken on non-Linux targets. + Exception support is broken. See PR 66146. diff --git a/libstdc++-v3/doc/xml/manual/status_cxx2014.xml b/libstdc++-v3/doc/xml/manual/status_cxx2014.xml index e4c99886ce0..becc4ed2684 100644 --- a/libstdc++-v3/doc/xml/manual/status_cxx2014.xml +++ b/libstdc++-v3/doc/xml/manual/status_cxx2014.xml @@ -1390,7 +1390,7 @@ not in any particular release. 30.4.4.2 Function call_once Broken - Exception support is broken on non-Linux targets. + Exception support is broken. See PR 66146. diff --git a/libstdc++-v3/doc/xml/manual/status_cxx2017.xml b/libstdc++-v3/doc/xml/manual/status_cxx2017.xml index c12abda7895..e4a3a2ae0ed 100644 --- a/libstdc++-v3/doc/xml/manual/status_cxx2017.xml +++ b/libstdc++-v3/doc/xml/manual/status_cxx2017.xml @@ -2505,7 +2505,7 @@ since C++14 and the implementation is complete. 33.4.6.2 Function call_once Y - Exception support is broken on non-Linux targets. + Exception support is broken. See PR 66146.