------- Comment #17 from ubizjak at gmail dot com 2008-03-10 13:15 ------- (In reply to comment #16) > (In reply to comment #14) > > Does MS bitfield struct require 8byte alignment for long long field > > for 32bit target? > > Can you try following patch (this will aling DImode values to their natural > alignment - if bigger than default alignment - when MS bitfield is used):
Ah, we can use: + unsigned int type_size + = tree_low_cst (TYPE_SIZE (type), 1); -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35496