From cd11b87e6a2bf9fdb5f8c90dd91472d038db8aec Mon Sep 17 00:00:00 2001 From: Richard Kenner Date: Thu, 15 Dec 1994 07:49:16 -0500 Subject: [PATCH] (store_constructor): Properly get constant part of bit position when DECL_FIELD_BITPOS is a PLUS_EXPR. From-SVN: r8655 --- gcc/expr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/expr.c b/gcc/expr.c index dbdbaab..8a85200 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) { -- 2.7.4