Commit 5be1df77 by Richard Kenner

(finish_struct): Properly update DECL_PACKED.

From-SVN: r9625
parent fd378c9d
......@@ -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. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment