From: Jonathan Wakely Date: Thu, 14 Mar 2024 11:52:17 +0000 (+0000) Subject: libstdc++: Correct notes about std::call_once in manual [PR66146] X-Git-Tag: basepoints/gcc-15~672 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e6836bbbd7a01af0791c02087e568b4822418c0d;p=thirdparty%2Fgcc.git 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. --- diff --git a/libstdc++-v3/doc/html/manual/status.html b/libstdc++-v3/doc/html/manual/status.html index ea8fd485cb90..2e293d32f818 100644 --- a/libstdc++-v3/doc/html/manual/status.html +++ b/libstdc++-v3/doc/html/manual/status.html @@ -217,7 +217,7 @@ 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 1eeb2d1ccd78..7f589ad7f7af 100644 --- a/libstdc++-v3/doc/xml/manual/status_cxx2011.xml +++ b/libstdc++-v3/doc/xml/manual/status_cxx2011.xml @@ -2404,7 +2404,7 @@ 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 807cea57d120..518a8973f729 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 bea6db929c62..144b9909fac0 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.