[Bug libstdc++/80285] `std::make_shared` performs two separate allocations with `-fno-rtti`
redi at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue May 16 13:34:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80285
--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Author: redi
Date: Tue May 16 13:16:34 2017
New Revision: 248109
URL: https://gcc.gnu.org/viewcvs?rev=248109&root=gcc&view=rev
Log:
Fix forward declaration of std::type_info for versioned-namespace
PR libstdc++/80285
* include/bits/shared_ptr_base.h [!__cpp_rtti] (type_info): Declare
outside versioned namespace.
Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/include/bits/shared_ptr_base.h
More information about the Gcc-bugs
mailing list