Jonathan Wakely
f8cba3aaae
PR libstdc++/80285 optimize std::make_shared for -fno-rtti
...
PR libstdc++/80285
* include/bits/shared_ptr_base.h (_Sp_make_shared_tag::_S_ti): Define
function to get unique fake std::type_info reference.
(_Sp_counted_ptr_inplace::_M_get_deleter) [!__cpp_rtti]: Compare to
_S_ti() fake reference.
(__shared_ptr(_Sp_make_shared_tag, const Alloc&, Args&&...)): Share
single implementation with or without RTTI enable.
[!__cpp_rtti]: Pass fake reference to _M_get_deleter.
* testsuite/20_util/shared_ptr/creation/alloc.cc: Change expected
allocation and deallocation counts.
* testsuite/20_util/shared_ptr/creation/single_allocation.cc: New.
* testsuite/20_util/shared_ptr/creation/single_allocation_no_rtti.cc:
New.
From-SVN: r247905
2017-05-11 14:21:07 +01:00
..
2017-01-01 13:07:43 +01:00
2017-01-20 12:03:36 +00:00
2017-01-01 13:07:43 +01:00
2017-01-01 13:07:43 +01:00
2017-02-11 21:08:06 +00:00
2017-01-01 13:07:43 +01:00
2017-01-01 13:07:43 +01:00
2017-01-01 13:07:43 +01:00
2017-03-14 14:51:19 +00:00
2017-02-01 11:41:48 +00:00
2017-01-01 13:07:43 +01:00
2017-01-01 13:07:43 +01:00
2017-01-01 13:07:43 +01:00
2017-01-01 13:07:43 +01:00
2017-05-10 20:40:28 +00:00
2017-04-03 18:15:53 +01:00
2017-01-01 13:07:43 +01:00
2017-01-01 13:07:43 +01:00
2017-01-01 13:07:43 +01:00
2017-01-01 13:07:43 +01:00
2017-01-01 13:07:43 +01:00
2017-01-01 13:07:43 +01:00
2017-01-01 13:07:43 +01:00
2017-01-01 13:07:43 +01:00
2017-01-01 13:07:43 +01:00
2017-01-21 17:38:23 +02:00
2017-01-01 13:07:43 +01:00
2017-01-01 13:07:43 +01:00
2017-03-02 03:43:49 +00:00
2017-01-01 13:07:43 +01:00
2017-01-01 13:07:43 +01:00
2017-03-10 15:29:38 +00:00
2017-04-03 18:16:06 +01:00
2017-01-01 13:07:43 +01:00
2017-03-13 21:41:50 +02:00
2017-01-16 11:41:41 +00:00
2017-01-01 13:07:43 +01:00
2017-03-16 15:27:51 +00:00
2017-01-01 13:07:43 +01:00
2017-01-10 14:15:59 +00:00
2017-01-01 13:07:43 +01:00
2017-01-01 13:07:43 +01:00
2017-01-01 13:07:43 +01:00
2017-03-02 03:43:49 +00:00
2017-01-01 13:07:43 +01:00
2017-01-01 13:07:43 +01:00
2017-01-01 13:07:43 +01:00
2017-01-01 13:07:43 +01:00
2017-01-01 13:07:43 +01:00
2017-01-01 13:07:43 +01:00
2017-01-01 13:07:43 +01:00
2017-02-01 12:57:35 +00:00
2017-01-20 12:03:36 +00:00
2017-01-01 13:07:43 +01:00
2017-01-20 15:28:48 +00:00
2017-04-24 14:43:19 +01:00
2017-01-01 13:07:43 +01:00
2017-04-24 12:40:07 +01:00
2017-01-01 13:07:43 +01:00
2017-01-01 13:07:43 +01:00
2017-01-01 13:07:43 +01:00
2017-01-01 13:07:43 +01:00
2017-03-23 19:40:07 +00:00
2017-01-01 13:07:43 +01:00
2017-01-01 13:07:43 +01:00
2017-01-01 13:07:43 +01:00
2017-01-01 13:07:43 +01:00
2017-01-01 13:07:43 +01:00
2017-05-10 20:40:28 +00:00
2017-01-01 13:07:43 +01:00
2017-01-01 13:07:43 +01:00
2017-05-11 14:21:07 +01:00
2017-04-21 14:08:51 +01:00
2017-03-02 03:43:49 +00:00
2017-01-01 13:07:43 +01:00
2017-01-01 13:07:43 +01:00
2017-01-01 13:07:43 +01:00
2017-03-22 15:58:35 +00:00
2017-03-23 19:40:07 +00:00
2017-03-02 03:43:49 +00:00
2017-05-10 20:05:26 +00:00
2017-01-01 13:07:43 +01:00
2017-04-28 13:56:53 +01:00
2017-03-20 20:51:40 +00:00
2017-01-01 13:07:43 +01:00
2017-03-16 14:32:07 +00:00
2017-01-01 13:07:43 +01:00
2017-01-01 13:07:43 +01:00
2017-01-01 13:07:43 +01:00
2017-03-20 20:51:40 +00:00
2017-03-20 20:51:40 +00:00
2017-03-20 20:51:40 +00:00
2017-03-20 20:51:40 +00:00
2017-01-01 13:07:43 +01:00
2017-04-03 19:30:58 +03:00
2017-03-20 20:51:40 +00:00
2017-01-01 13:07:43 +01:00
2017-01-01 13:07:43 +01:00
2017-03-20 20:51:40 +00:00
2017-03-20 20:51:40 +00:00
2017-01-01 13:07:43 +01:00
2017-03-26 12:33:35 +00:00
2017-04-28 13:56:53 +01:00
2017-03-20 20:51:40 +00:00
2017-01-01 13:07:43 +01:00
2017-01-01 13:07:43 +01:00
2017-01-01 13:07:43 +01:00
2017-01-01 13:07:43 +01:00
2017-01-01 13:07:43 +01:00
2017-01-20 15:28:48 +00:00
2017-04-21 14:08:51 +01:00
2017-01-01 13:07:43 +01:00
2017-01-01 13:07:43 +01:00
2017-03-23 19:40:07 +00:00
2017-01-01 13:07:43 +01:00
2017-01-01 13:07:43 +01:00
2017-01-01 13:07:43 +01:00
2017-01-01 13:07:43 +01:00
2017-01-01 13:07:43 +01:00