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

DECL_FIELD_BITPOS is a PLUS_EXPR.

From-SVN: r8655
This commit is contained in:
Richard Kenner 1994-12-15 07:49:16 -05:00
parent 1b604ae412
commit cd11b87e6a

View file

@ -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)
{