[PATCH] D14872: PR25575: Make GCC 4.4+ comatible layout for packed bit-fileds of char type

Dmitry Polukhin via cfe-commits cfe-commits at lists.llvm.org
Mon Nov 23 07:05:20 PST 2015


DmitryPolukhin added a comment.

It seems that check for type alignment <= 8 was there practically forever http://llvm.org/viewvc/llvm-project/cfe/trunk/Sema/SemaDecl.cpp?r1=47197&r2=47196&pathrev=47197 and there is no good explanation why it was implemented. Subsequent changes only add more condition to exclude cases when it shouldn't be reported.


http://reviews.llvm.org/D14872





More information about the cfe-commits mailing list