Commit 64d60f91 by Richard Kenner

(finish_struct): Set DECL_C_BIT_FIELD when set DECL_BIT_FIELD.

From-SVN: r10857
parent e8970a8c
...@@ -5570,7 +5570,7 @@ finish_struct (t, fieldlist, attributes) ...@@ -5570,7 +5570,7 @@ finish_struct (t, fieldlist, attributes)
register int width = TREE_INT_CST_LOW (DECL_INITIAL (x)); register int width = TREE_INT_CST_LOW (DECL_INITIAL (x));
DECL_FIELD_SIZE (x) = width; DECL_FIELD_SIZE (x) = width;
DECL_BIT_FIELD (x) = 1; DECL_BIT_FIELD (x) = DECL_C_BIT_FIELD (x) = 1;
DECL_INITIAL (x) = NULL; DECL_INITIAL (x) = NULL;
if (width == 0) if (width == 0)
......
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