From: Richard Kenner Date: Thu, 15 Dec 1994 12:49:16 +0000 (-0500) Subject: (store_constructor): Properly get constant part of bit position when X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=cd11b87e6a2bf9fdb5f8c90dd91472d038db8aec;p=gcc.git (store_constructor): Properly get constant part of bit position when DECL_FIELD_BITPOS is a PLUS_EXPR. From-SVN: r8655 --- diff --git a/gcc/expr.c b/gcc/expr.c index dbdbaab7897..8a85200ef68 100644 --- a/gcc/expr.c +++ b/gcc/expr.c @@ -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) {