This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r278296 - in /trunk/libstdc++-v3: ChangeLog doc...
- From: redi at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Fri, 15 Nov 2019 14:38:59 -0000
- Subject: r278296 - in /trunk/libstdc++-v3: ChangeLog doc...
Author: redi
Date: Fri Nov 15 14:38:59 2019
New Revision: 278296
URL: https://gcc.gnu.org/viewcvs?rev=278296&root=gcc&view=rev
Log:
libstdc++: Fix definition of std::nostopstate object
Also add <stop_token> header to PCH and Doxygen config.
* doc/doxygen/user.cfg.in: Add <stop_token>.
* include/precompiled/stdc++.h: Likewise.
* include/std/stop_token: Fix definition of std::nostopstate.
* testsuite/30_threads/headers/stop_token/synopsis.cc: New test.
* testsuite/30_threads/headers/thread/types_std_c++20.cc: New test.
* testsuite/30_threads/stop_token/stop_source.cc: New test.
* testsuite/30_threads/stop_token/stop_token.cc: Remove unnecessary
dg-require directives. Remove I/O and inclusion of <iostream>.
Added:
trunk/libstdc++-v3/testsuite/30_threads/headers/stop_token/
trunk/libstdc++-v3/testsuite/30_threads/headers/stop_token/synopsis.cc
trunk/libstdc++-v3/testsuite/30_threads/headers/thread/types_std_c++20.cc
trunk/libstdc++-v3/testsuite/30_threads/stop_token/stop_source.cc
Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/doc/doxygen/user.cfg.in
trunk/libstdc++-v3/include/precompiled/stdc++.h
trunk/libstdc++-v3/include/std/stop_token
trunk/libstdc++-v3/testsuite/30_threads/stop_token/stop_token.cc