+2024-03-17 François Dumont <fdumont@gcc.gnu.org>
+
+ Backported from master:
+ 2024-03-17 François Dumont <fdumont@gcc.gnu.org>
+
+ PR libstdc++/114316
+ * include/debug/safe_iterator.tcc (_Safe_iterator<>::_M_valid_range):
+ First check if both iterators are value-initialized before checking if
+ singular.
+ * testsuite/23_containers/set/debug/114316.cc: New test case.
+ * testsuite/23_containers/vector/debug/114316.cc: New test case.
+
2024-03-16 Jonathan Wakely <jwakely@redhat.com>
Backported from master: