https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51628
--- Comment #23 from Sven <sven.koehler at gmail dot com> --- FYI: I have asked the llvm folks to add a warning to their compiler for the when a pointer to a member of a packed struct is assigned to an "ordinary" pointer with higher alignment guarantees. Clearly, I agree with comment #18 that compilers should warn about this. See https://llvm.org/bugs/show_bug.cgi?id=22821