gcc/libstdc++-v3/testsuite
Patrick Palka 8ce13842b5 libstdc++: Fix use of inaccessible private member in split_view (PR93936)
We are calling _OuterIter::__current from _InnerIter::operator==, but the former
is private within this non-member friend.  Fix this by calling
_OuterIter::operator== instead, which does the right thing here.

libstdc++-v3/ChangeLog:

	PR libstdc++/93936
	* include/std/ranges (split_view::_InnerIter::operator==): Compare
	the operands' _M_i rather than their _M_i.current().
	* testsuite/std/ranges/adaptors/split.cc: Augment test.
2020-02-26 10:24:00 -05:00
..
17_intro libstdc++ P1956R1 On the names of low-level bit manipulation functions 2020-02-17 17:09:18 +00:00
18_support libstdc++: Optimize C++20 comparison category types 2020-02-07 14:09:03 +00:00
19_diagnostics libstdc++: Define operator<=> for <system_error> types 2020-02-20 12:27:48 +00:00
20_util libstdc++: Define <=> for tuple, optional and variant 2020-02-21 17:12:39 +00:00
21_strings Update copyright years. 2020-01-01 12:51:42 +01:00
22_locale Update copyright years. 2020-01-01 12:51:42 +01:00
23_containers libstdc++: span's deduction-guide for built-in arrays doesn't work (LWG 3369) 2020-02-19 15:28:33 +00:00
24_iterators libstdc++: Add missing bits of P0896R4 pertaining to [back|front]_insert_iterator 2020-02-24 10:09:52 -05:00
25_algorithms libstdc++: Remove __memmove wrapper for constexpr algorithms 2020-02-25 17:01:50 +00:00
26_numerics libstdc++: P1645R1 constexpr for <numeric> algorithms 2020-02-26 10:23:17 -05:00
27_io tolerate padding in mbstate_t 2020-01-23 16:36:34 -03:00
28_regex Update copyright years. 2020-01-01 12:51:42 +01:00
29_atomics libstdc++: Value-initialize std::atomic for C++20 (P0883R2) 2020-01-13 13:22:28 +00:00
30_threads libstdc++: Add <=> to thread::id 2020-02-20 11:30:19 +00:00
abi Update copyright years. 2020-01-01 12:51:42 +01:00
backward Update copyright years. 2020-01-01 12:51:42 +01:00
config Update copyright years. 2020-01-01 12:51:42 +01:00
data
decimal Update copyright years. 2020-01-01 12:51:42 +01:00
experimental libstdc++: Fix testsuite failures and warnings due to is_pod deprecation 2020-01-09 21:31:50 +00:00
ext Update copyright years. 2020-01-01 12:51:42 +01:00
lib Update copyright years. 2020-01-01 12:51:42 +01:00
libstdc++-abi Update copyright years. 2020-01-01 12:51:42 +01:00
libstdc++-dg Update copyright years. 2020-01-01 12:51:42 +01:00
libstdc++-prettyprinters Update copyright years. 2020-01-01 12:51:42 +01:00
libstdc++-xmethods Update copyright years. 2020-01-01 12:51:42 +01:00
performance Update copyright years. 2020-01-01 12:51:42 +01:00
special_functions Update copyright years. 2020-01-01 12:51:42 +01:00
std libstdc++: Fix use of inaccessible private member in split_view (PR93936) 2020-02-26 10:24:00 -05:00
tr1 Update copyright years. 2020-01-01 12:51:42 +01:00
tr2 Update copyright years. 2020-01-01 12:51:42 +01:00
util libstdc++: "safe" in several library names is misleading (LWG 3379) 2020-02-19 12:46:57 +00:00
Makefile.am Update copyright years. 2020-01-01 12:51:42 +01:00
Makefile.in Add `--with-toolexeclibdir=' configuration option 2020-01-24 11:24:25 +00:00