gcc/libstdc++-v3/testsuite/30_threads
Jonathan Wakely 7759a387e2 PR libstdc++/79433 no #error for including headers with wrong -std
Backport from mainline
2017-09-12  Jonathan Wakely  <jwakely@redhat.com>

	PR libstdc++/79433
	* doc/xml/manual/status_cxx2017.xml: Update feature-test macros.
	* doc/html/*: Regenerate.
	* include/Makefile.am: Remove <bits/c++17_warning.h>.
	* include/Makefile.in: Regenerate.
	* include/bits/c++17_warning.h: Remove.
	* include/bits/string_view.tcc: Do not include <bits/c++17_warning.h>
	for pre-C++17 modes.
	* include/std/any: Likewise.
	(__cpp_lib_any): Define.
	* include/std/mutex (__cpp_lib_scoped_lock): Adjust value as per new
	SD-6 draft.
	* include/std/numeric (__cpp_lib_gcd_lcm): Define as per new SD-6
	draft.
	* include/std/optional: Do not include <bits/c++17_warning.h>.
	(__cpp_lib_optional): Define.
	* include/std/shared_mutex: Do not include <bits/c++14_warning.h>.
	* include/std/string_view: Do not include <bits/c++17_warning.h>.
	(__cpp_lib_string_view): Define.
	* include/std/variant: Do not include <bits/c++17_warning.h>.
	(__cpp_lib_variant): Define.
	* testsuite/20_util/optional/cons/value_neg.cc: Adjust dg-error line
	numbers.
	* testsuite/26_numerics/gcd/1.cc: Test for __cpp_lib_gcd_lcm.
	* testsuite/26_numerics/gcd/gcd_neg.cc: Adjust dg-error line
	numbers.
	* testsuite/26_numerics/lcm/1.cc: Test for __cpp_lib_gcd_lcm.
	* testsuite/26_numerics/lcm/lcm_neg.cc: Adjust dg-error line
	numbers.
	* testsuite/30_threads/scoped_lock/requirements/typedefs.cc: Adjust
	expected value of __cpp_lib_scoped_lock.

From-SVN: r253943
2017-10-20 16:14:29 +01:00
..
async Support exception propagation without lock-free atomic int 2017-01-04 10:54:59 +00:00
call_once
condition_variable Define testsuite macro for correct thread_local destructors 2017-01-09 13:06:03 +00:00
condition_variable_any
future Support exception propagation without lock-free atomic int 2017-01-04 10:54:59 +00:00
headers Support exception propagation without lock-free atomic int 2017-01-04 10:54:59 +00:00
lock
lock_guard Add deduction guides for C++17 (P0433R2, partial) 2017-03-22 15:58:35 +00:00
mutex
once_flag/cons
packaged_task PR libstdc++/79486 use lvalues in result_of expressions 2017-02-13 13:13:29 +00:00
promise PR libstdc++/80316 make promise::set_value throw no_state error 2017-07-11 12:52:14 +01:00
recursive_mutex
recursive_timed_mutex
scoped_lock PR libstdc++/79433 no #error for including headers with wrong -std 2017-10-20 16:14:29 +01:00
shared_future Support exception propagation without lock-free atomic int 2017-01-04 10:54:59 +00:00
shared_lock
shared_mutex
shared_timed_mutex
this_thread
thread Add deleted std::thread(const thread&&) constructor 2017-01-03 13:31:26 +00:00
timed_mutex
try_lock
unique_lock Add deduction guides for C++17 (P0433R2, partial) 2017-03-22 15:58:35 +00:00