r262386 - in /branches/gcc-8-branch/libstdc++-v...

redi@gcc.gnu.org redi@gcc.gnu.org
Wed Jul 4 11:44:00 GMT 2018


Author: redi
Date: Wed Jul  4 11:44:45 2018
New Revision: 262386

URL: https://gcc.gnu.org/viewcvs?rev=262386&root=gcc&view=rev
Log:
PR libstdc++/86292 fix exception safety of std::vector<InputIterator> constructor

Backport from mainline
2018-06-25  Jonathan Wakely  <jwakely@redhat.com>

	PR libstdc++/86292
	* include/bits/stl_vector.h (vector::_M_range_initialize<InputIter>):
	Add try-catch block.
	* testsuite/23_containers/vector/cons/86292.cc: New.

Added:
    branches/gcc-8-branch/libstdc++-v3/testsuite/23_containers/vector/cons/86292.cc
Modified:
    branches/gcc-8-branch/libstdc++-v3/ChangeLog
    branches/gcc-8-branch/libstdc++-v3/include/bits/stl_vector.h



More information about the Libstdc++-cvs mailing list