stor-layout.c (place_field): Handle alignment of whole structures when MSVC compatibl...
authorDouglas B Rupp <rupp@gnat.com>
Wed, 18 Sep 2002 18:51:14 +0000 (18:51 +0000)
committerDouglas Rupp <rupp@gcc.gnu.org>
Wed, 18 Sep 2002 18:51:14 +0000 (18:51 +0000)
commite4850f36e545325e3309870d13dfe4582e7cb9d4
treedb1286b6218421cfbaf55c157f77ee8912f2bf17
parent62f1a74c0f77dbe42561774579317fe56fda7401
stor-layout.c (place_field): Handle alignment of whole structures when MSVC compatible bitfields are involved.

        * stor-layout.c (place_field): Handle alignment of whole
        structures when MSVC compatible bitfields are involved.
        Change method of computing location of MS bitfields to
        be compatible with #pragma pack(n).

        * tree.h (record_layout_info): Add new field
        remaining_in_alignment.

        * doc/tm.texi: (TARGET_MS_BITFIELD_LAYOUT_P): Update.
        (pragma pack): Add paragraph on MSVC bitfield packing.

Co-Authored-By: Donn Terry <donnte@microsoft.com>
From-SVN: r57281
gcc/ChangeLog
gcc/doc/tm.texi
gcc/stor-layout.c
gcc/tree.h