http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55123
--- Comment #8 from Jonathan Wakely <redi at gcc dot gnu.org> 2012-10-29 21:56:25 UTC --- Author: redi Date: Mon Oct 29 21:56:12 2012 New Revision: 192965 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=192965 Log: 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. Added: branches/gcc-4_7-branch/libstdc++-v3/testsuite/20_util/shared_ptr/cons/55123.cc Modified: branches/gcc-4_7-branch/libstdc++-v3/ChangeLog branches/gcc-4_7-branch/libstdc++-v3/include/bits/shared_ptr_base.h