(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:
parent
1b604ae412
commit
cd11b87e6a
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue