gcc/libstdc++-v3/testsuite
Jonathan Wakely a35e8042fb libstdc++: Avoid -Wmaybe-uninitialized warning in std::stop_source [PR109339]
We pass a const-reference to *this before it's constructed, and GCC
assumes that all const-references are accessed. Add the access attribute
to say it's not accessed.

libstdc++-v3/ChangeLog:

	PR libstdc++/109339
	* include/std/stop_token (_Stop_state_ptr(const stop_source&)):
	Add attribute access with access-mode 'none'.
	* testsuite/30_threads/stop_token/stop_source/109339.cc: New test.
2023-03-31 14:20:52 +01:00
..
17_intro [libstdc++] [testsuite] intro/names.cc: undef func on vxw7krn 2023-02-22 14:35:13 -03:00
18_support libstdc++: Fix test for hash<coroutine_handle<P>>::operator() [PR109165] 2023-03-18 09:43:20 +00:00
19_diagnostics
20_util libstdc++: Fix filename of new test [PR109242] 2023-03-30 00:42:11 +01:00
21_strings libstdc++: Use rvalues in std::string::resize_and_overwrite (LWG 3645) 2023-03-22 17:48:20 +00:00
22_locale
23_containers c++: explicit ctor and list-initialization [PR109159] 2023-03-20 16:54:11 -04:00
24_iterators libstdc++: Make std::istream_iterator copy ctor constexpr (LWG 3600) 2023-03-22 17:48:19 +00:00
25_algorithms libstdc++: Do not use memmove for 1-element ranges [PR108846] 2023-02-28 09:49:11 +00:00
26_numerics libstdc++: Add assertions to std::mask_array operations [PR62196] 2023-03-14 10:28:38 +00:00
27_io [libstdc++] xfail noreplace tests on vxworks 2023-02-22 14:35:15 -03:00
28_regex libstdc++: Add allocator-extended constructors to std::match_results (LWG 2195) 2023-03-22 17:48:19 +00:00
29_atomics libstdc++: Add missing free functions for atomic_flag [PR103934] 2023-02-13 17:46:59 -08:00
30_threads libstdc++: Avoid -Wmaybe-uninitialized warning in std::stop_source [PR109339] 2023-03-31 14:20:52 +01:00
abi
backward
config
data
decimal
experimental libstdc++: Fix constexpr functions in <experimental/internet> 2023-03-30 00:36:08 +01:00
ext
lib
libstdc++-abi
libstdc++-dg
libstdc++-prettyprinters [libstdc++] [prettyprint] add local std::string use to more tests 2023-03-03 16:06:46 -03:00
libstdc++-xmethods libstdc++: Fix GDB Xmethod for std::shared_ptr::use_count() [PR109064] 2023-03-10 11:10:23 +00:00
performance
special_functions
std libstdc++: Update tzdata to 2023a [PR109288] 2023-03-28 21:12:18 +01:00
tr1
tr2
util
Makefile.am
Makefile.in