Commit cd11b87e by Richard Kenner

(store_constructor): Properly get constant part of bit position when

DECL_FIELD_BITPOS is a PLUS_EXPR.

From-SVN: r8655
parent 1b604ae4
......@@ -3001,7 +3001,7 @@ store_constructor (exp, target)
offset = pos;
if (constant)
bitpos = TREE_INT_CST_LOW (DECL_FIELD_BITPOS (field));
bitpos = TREE_INT_CST_LOW (constant);
if (offset)
{
......
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