r235278 - in /branches/gcc-5-branch/libstdc++-v...

redi@gcc.gnu.org redi@gcc.gnu.org
Wed Apr 20 13:00:00 GMT 2016


Author: redi
Date: Wed Apr 20 13:00:43 2016
New Revision: 235278

URL: https://gcc.gnu.org/viewcvs?rev=235278&root=gcc&view=rev
Log:
Fix assertions for move assignment of trivial types

Backport from mainline
2016-01-26  Jonathan Wakely  <jwakely@redhat.com>

	PR libstdc++/69478
	* include/bits/stl_algobase.h (__copy_move<_IsMove, true,
	random_access_iterator_tag>): Check is_move_assignable when moving.
	(__copy_move_backwards<_IsMove, true, random_access_iterator_tag>):
	Likewise.
	* testsuite/25_algorithms/copy/move_iterators/69478.cc: New.
	* testsuite/25_algorithms/copy_backward/move_iterators/69478.cc: New.
	* testsuite/25_algorithms/move/69478.cc: New.
	* testsuite/25_algorithms/move_backward/69478.cc: New.

Added:
    branches/gcc-5-branch/libstdc++-v3/testsuite/25_algorithms/copy/move_iterators/69478.cc
    branches/gcc-5-branch/libstdc++-v3/testsuite/25_algorithms/copy_backward/move_iterators/69478.cc
    branches/gcc-5-branch/libstdc++-v3/testsuite/25_algorithms/move/69478.cc
    branches/gcc-5-branch/libstdc++-v3/testsuite/25_algorithms/move_backward/69478.cc
Modified:
    branches/gcc-5-branch/libstdc++-v3/ChangeLog
    branches/gcc-5-branch/libstdc++-v3/include/bits/stl_algobase.h



More information about the Libstdc++-cvs mailing list