[Bug libstdc++/85930] Misaligned reference created in shared_ptr_base.h with -fno-rtti

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri May 25 21:40:00 GMT 2018


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85930

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Maybe the easiest fix is to mark __tag as aligned to alignof (type_info).

static constexpr _Sp_make_shared_tag __tag;


More information about the Gcc-bugs mailing list