https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114955
--- Comment #5 from hanwei (K) <hanwei62 at huawei dot com> --- You mean the pragma pack just apply to the inner members of struct, not the first member. The align of struct (first member also) is controlled by __attribute__((aligned(...))). Right?