diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2014-12-01 13:49:20 +0000 |
---|---|---|
committer | Jonathan Wakely <redi@gcc.gnu.org> | 2014-12-01 13:49:20 +0000 |
commit | 7b55fa54d4f8040c8f01acd3c725670000640538 (patch) | |
tree | 6d4a55ffd31c569daea99eed047d23e33962c50d /gcc/tree-loop-distribution.c | |
parent | 31a46aa7d4f7d810624d98547948833d7bba4756 (diff) | |
download | gcc-7b55fa54d4f8040c8f01acd3c725670000640538.zip gcc-7b55fa54d4f8040c8f01acd3c725670000640538.tar.gz gcc-7b55fa54d4f8040c8f01acd3c725670000640538.tar.bz2 |
re PR libstdc++/63840 (std::function copy constructor deletes an uninitialized pointer if new fails)
PR libstdc++/63840
* include/std/functional (function::function(const function&)): Set
_M_manager after operations that might throw.
* include/tr1/functional (function::function(const function&),
function::function(_Functor, _Useless)): Likewise.
* testsuite/20_util/function/63840.cc: New.
* testsuite/tr1/3_function_objects/function/63840.cc: New.
From-SVN: r218215
Diffstat (limited to 'gcc/tree-loop-distribution.c')
0 files changed, 0 insertions, 0 deletions