]> git.ipfire.org Git - thirdparty/gcc.git/commit
PR libstdc++/66017
authorredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 27 May 2015 11:18:37 +0000 (11:18 +0000)
committerredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 27 May 2015 11:18:37 +0000 (11:18 +0000)
commit726854a8ae1321fc0ae05030b4b26642ca0eb9f6
tree96e7e2ca94b197e4d0a70f538b776fe1cbb86b64
parent81ad436b6179ace1b03d71639d6868f644cbecb5
PR libstdc++/66017
* include/bits/stl_tree.h (_Rb_tree_node): Use __aligned_membuf.
(_Rb_tree_iterator, _Rb_tree_const_iterator): Support construction
from _Base_ptr.
(_Rb_tree_const_iterator::_M_const_cast): Remove static_cast.
(_Rb_tree::begin, _Rb_tree::end): Remove static_cast.
* include/ext/aligned_buffer.h (__aligned_membuf): New type using
alignment of _Tp as a member subobject, not as a complete object.
* python/libstdcxx/v6/printers.py (StdRbtreeIteratorPrinter): Lookup
_Link_type manually as it might not be in the debug info.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@223745 138bc75d-0d04-0410-961f-82ee72b054a4
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/stl_tree.h
libstdc++-v3/include/ext/aligned_buffer.h
libstdc++-v3/python/libstdcxx/v6/printers.py