diff options
author | rupp <rupp@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-09-18 18:51:14 +0000 |
---|---|---|
committer | rupp <rupp@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-09-18 18:51:14 +0000 |
commit | 8642f3d3ca9bd142a875260ed9998508eb992a75 (patch) | |
tree | db1286b6218421cfbaf55c157f77ee8912f2bf17 /gcc/tree.h | |
parent | 3193f3b162324f2600d5bec2c81224e9943ef19f (diff) | |
download | gcc-8642f3d3ca9bd142a875260ed9998508eb992a75.tar.gz |
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57281 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree.h')
-rw-r--r-- | gcc/tree.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/tree.h b/gcc/tree.h index f95f363792e..310d643b6e5 100644 --- a/gcc/tree.h +++ b/gcc/tree.h @@ -2403,6 +2403,8 @@ typedef struct record_layout_info_s /* The static variables (i.e., class variables, as opposed to instance variables) encountered in T. */ tree pending_statics; + /* Bits remaining in the current alignment group */ + int remaining_in_alignment; int packed_maybe_necessary; } *record_layout_info; |