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

--- Comment #3 from npl at chello dot at ---
I just checked the alignment of nullptr, and here seems to be the issue:
the size of 4, while the alignment is 1. This will result in unaligned access
should a nullptr be stored (storing a nullptr probably is a really useless
thing, but it seems to happen)

static_assert(std::alignment_of<decltype(nullptr)>::value == 4, "oops");

Reply via email to