https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51628
--- Comment #43 from H.J. Lu <hjl.tools at gmail dot com> --- (In reply to Alexey Salmin from comment #42) > > I was trying to say that I'm glad that the "address-of-packed-member" > warning isn't triggered by this code. It still relies on the "address of > packed member" but in a safe way. Please try the current patch: https://gcc.gnu.org/ml/gcc-patches/2018-01/msg01535.html