Packed union doesn't make the unaligned magic on ms_bitfield
Eric Christopher
echristo@apple.com
Thu Jun 8 23:13:00 GMT 2006
> But how should it be handled? Eric and I can't find any abi stuff
> about it.
>
> --
> *stor-layout.c (update_alignment_for_field): Don't add extra
> alignment for packed non-bitfield fields in ms_bitfield_layout_p
> code.
FWIW I'm ok with the patch since it doesn't affect any corner case I
know about in the MS compiler.
-eric
More information about the Gcc-patches
mailing list