PR libstdc++/55123
commita76b95599e9176ca7799a290bfbea15a4b97c2ee
authorredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 29 Oct 2012 21:49:19 +0000 (29 21:49 +0000)
committerredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 29 Oct 2012 21:49:19 +0000 (29 21:49 +0000)
treea5167d0291a02c5e09e8f37ca3b9e4d292050dd5
parent08fc53907357671236aa02a1873455b195211ab6
PR libstdc++/55123
* include/bits/shared_ptr_base.h (__shared_count::_S_create_from_up):
Do not instantiate allocator with element_type.
* testsuite/20_util/shared_ptr/cons/55123.cc: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@192964 138bc75d-0d04-0410-961f-82ee72b054a4
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/shared_ptr_base.h
libstdc++-v3/testsuite/20_util/shared_ptr/cons/55123.cc [new file with mode: 0644]