gcc/libstdc++-v3/testsuite/25_algorithms/move_backward
Jonathan Wakely 6fb8b67089 libstdc++ Fix undefined behaviour in testsuite
Fix some test bugs found by ubsan.

libstdc++-v3/ChangeLog:

	* testsuite/20_util/from_chars/3.cc: Use unsigned type to avoid
	overflow.
	* testsuite/24_iterators/reverse_iterator/2.cc: Do not add
	non-zero value to null pointer.
	* testsuite/25_algorithms/copy_backward/move_iterators/69478.cc:
	Use past-the-end iterator for result.
	* testsuite/25_algorithms/move_backward/69478.cc: Likewise.
	* testsuite/25_algorithms/move_backward/93872.cc: Likewise.
2021-05-04 22:34:20 +01:00
..
deque_iterators Update copyright years. 2021-01-04 10:26:59 +01:00
requirements/explicit_instantiation Update copyright years. 2021-01-04 10:26:59 +01:00
1.cc Update copyright years. 2021-01-04 10:26:59 +01:00
69478.cc libstdc++ Fix undefined behaviour in testsuite 2021-05-04 22:34:20 +01:00
93872.cc libstdc++ Fix undefined behaviour in testsuite 2021-05-04 22:34:20 +01:00
94013.cc Update copyright years. 2021-01-04 10:26:59 +01:00
95578.cc Update copyright years. 2021-01-04 10:26:59 +01:00
constrained.cc Update copyright years. 2021-01-04 10:26:59 +01:00