Jonathan Wakely
630c1bfbb5
libstdc++: Fix ranges::stable_sort handling of null buffer [PR123180]
...
The logic of the null pointer check got reversed when converting the
std::stable_sort code for ranges::stable_sort.
libstdc++-v3/ChangeLog:
PR libstdc++/123180
* include/bits/ranges_algo.h (__stable_sort_fn::operator()): Fix
sense of null check. Replace typedef with alias-declaration.
* testsuite/25_algorithms/stable_sort/123180.cc: New test.
Reviewed-by: Patrick Palka <ppalka@redhat.com >
2025-12-18 13:47:25 +00:00
..
2025-03-27 13:47:30 +01:00
2025-08-21 11:54:41 +02:00
2025-05-22 14:20:35 +02:00
2025-12-17 06:28:07 +01:00
2025-12-01 12:58:16 +00:00
2025-12-06 00:28:43 +00:00
2025-12-11 19:54:44 +01:00
2025-12-03 23:56:32 +08:00
2025-04-15 09:24:58 +01:00
2025-12-05 12:15:08 -05:00
2025-05-29 11:49:03 +01:00
2025-12-05 12:14:18 -05:00
2025-04-29 10:52:59 +01:00
2025-10-10 09:23:01 +02:00
2025-10-15 21:54:56 +01:00
2025-12-03 23:56:32 +08:00
2025-12-16 22:19:09 +00:00
2025-06-02 13:52:35 +02:00
2025-12-16 11:22:58 -05:00
2025-12-11 19:54:44 +01:00
2025-11-13 14:29:15 +00:00
2025-11-18 11:51:16 +01:00
2025-12-11 19:54:44 +01:00
2025-07-15 10:25:34 +01:00
2025-10-20 17:42:19 +02:00
2025-12-11 19:54:44 +01:00
2025-10-14 15:47:20 +01:00
2025-10-08 17:06:20 +01:00
2025-12-08 18:55:02 +00:00
2025-11-03 18:55:06 +03:00
2025-12-08 09:21:42 +00:00
2025-12-11 19:54:44 +01:00
2025-04-29 10:52:59 +01:00
2025-03-19 23:29:06 +00:00
2025-12-08 18:55:02 +00:00
2025-12-11 19:54:44 +01:00
2025-06-02 13:52:35 +02:00
2025-08-26 18:16:04 +02:00
2025-12-11 19:54:44 +01:00
2025-12-11 19:54:44 +01:00
2025-12-11 19:54:44 +01:00
2025-04-29 10:52:59 +01:00
2025-09-26 11:05:49 +01:00
2025-05-06 17:19:25 +01:00
2025-11-03 21:32:25 +03:00
2025-12-17 20:41:31 +00:00
2025-12-18 10:44:36 +00:00
2025-12-18 13:47:25 +00:00
2025-08-18 14:05:06 +02:00
2025-11-28 15:38:04 -05:00
2025-11-26 11:45:30 +01:00
2025-07-15 10:25:48 +01:00
2025-09-17 14:14:37 -04:00
2025-12-05 13:43:40 -05:00
2025-11-21 15:30:49 +00:00
2025-04-29 19:54:35 +01:00
2025-04-29 19:54:35 +01:00
2025-04-29 19:54:35 +01:00
2025-10-29 21:41:12 +00:00
2025-12-08 18:55:02 +00:00
2025-11-27 09:43:24 +00:00
2025-12-17 06:28:07 +01:00
2025-10-11 00:09:19 +01:00
2025-07-09 12:14:40 +01:00
2025-12-11 19:54:44 +01:00
2025-05-27 12:11:43 +01:00
2025-04-29 10:52:59 +01:00
2025-10-14 17:26:42 +01:00
2025-12-11 19:54:44 +01:00
2025-12-11 19:54:44 +01:00
2025-12-11 19:54:44 +01:00
2025-12-11 19:54:44 +01:00
2025-12-16 11:22:58 -05:00
2025-12-16 11:22:58 -05:00
2025-04-11 13:56:03 +02:00
2025-09-22 15:59:21 +02:00
2025-09-23 16:38:28 +01:00
2025-09-26 11:05:49 +01:00
2025-09-26 11:05:49 +01:00
2025-12-16 11:22:58 -05:00
2025-07-19 00:10:10 +01:00
2025-07-07 21:50:51 +01:00
2025-04-11 13:56:03 +02:00
2025-12-11 19:54:44 +01:00
2025-10-14 15:47:20 +01:00
2025-10-14 15:47:20 +01:00
2025-09-03 12:16:18 +01:00
2025-04-25 13:02:04 +02:00
2025-10-14 15:47:20 +01:00
2025-04-25 13:02:04 +02:00
2025-06-12 18:41:30 +02:00
2025-10-14 15:47:20 +01:00
2025-12-16 11:22:58 -05:00
2025-12-11 19:54:44 +01:00
2025-10-15 21:54:56 +01:00
2025-10-08 18:02:39 +02:00
2025-11-14 18:27:01 +01:00
2025-04-29 10:52:59 +01:00
2025-09-10 23:24:10 +01:00
2025-10-14 15:47:20 +01:00
2025-10-14 15:47:20 +01:00
2025-10-27 11:48:49 +01:00
2025-10-27 09:54:55 +00:00
2025-08-26 18:18:32 +02:00
2025-12-17 21:28:57 +00:00
2025-12-17 21:28:57 +00:00
2025-10-09 15:25:59 +01:00