diff options
author | François Dumont <fdumont@gcc.gnu.org> | 2014-09-29 21:22:17 +0000 |
---|---|---|
committer | François Dumont <fdumont@gcc.gnu.org> | 2014-09-29 21:22:17 +0000 |
commit | ebd4c354b39912dfa95b1288d28a658d671b2285 (patch) | |
tree | cdd6cf88df941efb4a3211ab113e4194e3fc6b7c /gcc | |
parent | a3052d316c4d43df242c2ef4748e8ac5d8cd8437 (diff) | |
download | gcc-ebd4c354b39912dfa95b1288d28a658d671b2285.zip gcc-ebd4c354b39912dfa95b1288d28a658d671b2285.tar.gz gcc-ebd4c354b39912dfa95b1288d28a658d671b2285.tar.bz2 |
re PR libstdc++/62313 (Data race in debug iterators)
2014-09-29 François Dumont <fdumont@gcc.gnu.org>
PR libstdc++/62313
* include/debug/safe_base.h
(_Safe_iterator_base(const _Safe_iterator_base&)): Delete declaration.
(_Safe_iterator_base& operator=(const _Safe_iterator_base&)): Likewise.
* include/debug/safe_iterator.h (_Safe_iterator<>): Move normal iterator
before _Safe_iterator_base in memory. Lock before modifying the iterator
in numerous places.
* include/debug/safe_local_iterator.h
(_Safe_local_iterator_base(const _Safe_local_iterator_base&)): Delete
declaration.
(_Safe_local_iterator_base& operator=(const _Safe_local_iterator_base&)):
Likewise.
* include/debug/safe_unordered_base.h (_Safe_local_iterator<>): Move
normal iterator before _Safe_iterator_base in memory. Lock before
modifying the iterator in numerous places.
* include/debug/forward_list (_Safe_forward_list<>::_M_swap_aux): Adapt.
* include/debug/safe_sequence.tcc
(_Safe_sequence<>::_M_transfer_from_if): Adapt.
From-SVN: r215693
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions