[Bug libstdc++/87520] [8/9 Regression] ODR violations in std::make_shared when mixing -fno-rtti and -frtti
redi at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Nov 9 18:29:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87520
--- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Jonathan Wakely from comment #1)
> @@ -513,7 +512,6 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
> alignas(type_info) static constexpr _Sp_make_shared_tag __tag;
This needs to be fixed to have the right size as well as alignment, so the
reference binds to suitable storage (as per core DR 453).
More information about the Gcc-bugs
mailing list