public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug libstdc++/100298] New: noexcept is missing for thread::hardware_concurrency clang refuses the code @ 2021-04-28 0:18 unlvsur at live dot com 2021-04-28 11:45 ` [Bug libstdc++/100298] [11/12 Regression] " redi at gcc dot gnu.org ` (3 more replies) 0 siblings, 4 replies; 5+ messages in thread From: unlvsur at live dot com @ 2021-04-28 0:18 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100298 Bug ID: 100298 Summary: noexcept is missing for thread::hardware_concurrency clang refuses the code Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: unlvsur at live dot com Target Milestone: --- In file included from In file included from /home/cqwrteur/myhome/libstdcxx_wasm_build/include/bits/atomic_futex.h:39: In file included from /home/cqwrteur/myhome/libstdcxx_wasm_build/include/mutex:47: In file included from /home/cqwrteur/myhome/libstdcxx_wasm_build/include/thread:43: /home/cqwrteur/myhome/libstdcxx_wasm_build/include/bits/std_thread.h:273:31: error: 'hardware_concurrency' is missing exception specification 'noexcept' inline unsigned int thread::hardware_concurrency() { return 0; } ^ /home/cqwrteur/myhome/libstdcxx_wasm_build/include/bits/std_thread.h:196:5: note: previous declaration is here hardware_concurrency() noexcept; ^ 1 warning and 1 error generated. 1 warning generated. 2 warnings generated. 1 warning and 1 error generated. 4 warnings generated. make[3]: *** [Makefile:648: future.lo] Error 1 5 warnings generated. make[3]: *** [Makefile:648: futex.lo] Error 1 ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug libstdc++/100298] [11/12 Regression] noexcept is missing for thread::hardware_concurrency clang refuses the code 2021-04-28 0:18 [Bug libstdc++/100298] New: noexcept is missing for thread::hardware_concurrency clang refuses the code unlvsur at live dot com @ 2021-04-28 11:45 ` redi at gcc dot gnu.org 2021-04-28 11:55 ` cvs-commit at gcc dot gnu.org ` (2 subsequent siblings) 3 siblings, 0 replies; 5+ messages in thread From: redi at gcc dot gnu.org @ 2021-04-28 11:45 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100298 Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Last reconfirmed| |2021-04-28 Summary|noexcept is missing for |[11/12 Regression] noexcept |thread::hardware_concurrenc |is missing for |y clang refuses the code |thread::hardware_concurrenc | |y clang refuses the code Known to work| |10.3.0 Known to fail| |11.1.0, 12.0 Ever confirmed|0 |1 Status|UNCONFIRMED |NEW ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug libstdc++/100298] [11/12 Regression] noexcept is missing for thread::hardware_concurrency clang refuses the code 2021-04-28 0:18 [Bug libstdc++/100298] New: noexcept is missing for thread::hardware_concurrency clang refuses the code unlvsur at live dot com 2021-04-28 11:45 ` [Bug libstdc++/100298] [11/12 Regression] " redi at gcc dot gnu.org @ 2021-04-28 11:55 ` cvs-commit at gcc dot gnu.org 2021-04-28 11:56 ` cvs-commit at gcc dot gnu.org 2021-04-28 11:57 ` redi at gcc dot gnu.org 3 siblings, 0 replies; 5+ messages in thread From: cvs-commit at gcc dot gnu.org @ 2021-04-28 11:55 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100298 --- Comment #1 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Jonathan Wakely <redi@gcc.gnu.org>: https://gcc.gnu.org/g:5cc28000cfcc219fb4c45dbc5388ec05109049af commit r12-215-g5cc28000cfcc219fb4c45dbc5388ec05109049af Author: Jonathan Wakely <jwakely@redhat.com> Date: Wed Apr 28 12:45:49 2021 +0100 libstdc++: Add missing noexcept on std::thread member function [PR 100298] The new inline definition of std::thread::hardware_concurrency() for non-gthreads targets is missing the noexcept-specifier that is on the declaration. libstdc++-v3/ChangeLog: PR libstdc++/100298 * include/bits/std_thread.h (thread::hardware_concurrency): Add missing noexcept to inline definition for non-gthreads targets. ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug libstdc++/100298] [11/12 Regression] noexcept is missing for thread::hardware_concurrency clang refuses the code 2021-04-28 0:18 [Bug libstdc++/100298] New: noexcept is missing for thread::hardware_concurrency clang refuses the code unlvsur at live dot com 2021-04-28 11:45 ` [Bug libstdc++/100298] [11/12 Regression] " redi at gcc dot gnu.org 2021-04-28 11:55 ` cvs-commit at gcc dot gnu.org @ 2021-04-28 11:56 ` cvs-commit at gcc dot gnu.org 2021-04-28 11:57 ` redi at gcc dot gnu.org 3 siblings, 0 replies; 5+ messages in thread From: cvs-commit at gcc dot gnu.org @ 2021-04-28 11:56 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100298 --- Comment #2 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-11 branch has been updated by Jonathan Wakely <redi@gcc.gnu.org>: https://gcc.gnu.org/g:aae5106525d850c5f3ae8265374ead16c5e0a9b7 commit r11-8316-gaae5106525d850c5f3ae8265374ead16c5e0a9b7 Author: Jonathan Wakely <jwakely@redhat.com> Date: Wed Apr 28 12:45:49 2021 +0100 libstdc++: Add missing noexcept on std::thread member function [PR 100298] The new inline definition of std::thread::hardware_concurrency() for non-gthreads targets is missing the noexcept-specifier that is on the declaration. libstdc++-v3/ChangeLog: PR libstdc++/100298 * include/bits/std_thread.h (thread::hardware_concurrency): Add missing noexcept to inline definition for non-gthreads targets. (cherry picked from commit 5cc28000cfcc219fb4c45dbc5388ec05109049af) ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug libstdc++/100298] [11/12 Regression] noexcept is missing for thread::hardware_concurrency clang refuses the code 2021-04-28 0:18 [Bug libstdc++/100298] New: noexcept is missing for thread::hardware_concurrency clang refuses the code unlvsur at live dot com ` (2 preceding siblings ...) 2021-04-28 11:56 ` cvs-commit at gcc dot gnu.org @ 2021-04-28 11:57 ` redi at gcc dot gnu.org 3 siblings, 0 replies; 5+ messages in thread From: redi at gcc dot gnu.org @ 2021-04-28 11:57 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100298 Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Target Milestone|--- |11.2 Resolution|--- |FIXED --- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> --- Fixed for 11.2 ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2021-04-28 11:57 UTC | newest] Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2021-04-28 0:18 [Bug libstdc++/100298] New: noexcept is missing for thread::hardware_concurrency clang refuses the code unlvsur at live dot com 2021-04-28 11:45 ` [Bug libstdc++/100298] [11/12 Regression] " redi at gcc dot gnu.org 2021-04-28 11:55 ` cvs-commit at gcc dot gnu.org 2021-04-28 11:56 ` cvs-commit at gcc dot gnu.org 2021-04-28 11:57 ` redi at gcc dot gnu.org
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).