diff options
author | kenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4> | 1995-05-11 22:43:43 +0000 |
---|---|---|
committer | kenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4> | 1995-05-11 22:43:43 +0000 |
commit | d74bf9d54f1aad3bfddacacb436a1cec81e7b6af (patch) | |
tree | fbe382a7265e45f60b454f7a11b9e67ec38c4fa6 /gcc/c-decl.c | |
parent | dd7fd2ce6f0a8609aba524dd7b581dc361759e35 (diff) | |
download | gcc-d74bf9d54f1aad3bfddacacb436a1cec81e7b6af.tar.gz |
(finish_struct): Properly update DECL_PACKED.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9625 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/c-decl.c')
-rw-r--r-- | gcc/c-decl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/c-decl.c b/gcc/c-decl.c index 91565a8f12b..0b286b82899 100644 --- a/gcc/c-decl.c +++ b/gcc/c-decl.c @@ -5447,7 +5447,7 @@ finish_struct (t, fieldlist, attributes) for (x = fieldlist; x; x = TREE_CHAIN (x)) { DECL_CONTEXT (x) = t; - DECL_PACKED (x) = TYPE_PACKED (t); + DECL_PACKED (x) |= TYPE_PACKED (t); DECL_FIELD_SIZE (x) = 0; /* If any field is const, the structure type is pseudo-const. */ |