projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1b604ae
)
(store_constructor): Properly get constant part of bit position when
author
Richard Kenner
<kenner@gcc.gnu.org>
Thu, 15 Dec 1994 12:49:16 +0000
(07:49 -0500)
committer
Richard Kenner
<kenner@gcc.gnu.org>
Thu, 15 Dec 1994 12:49:16 +0000
(07:49 -0500)
DECL_FIELD_BITPOS is a PLUS_EXPR.
From-SVN: r8655
gcc/expr.c
patch
|
blob
|
history
diff --git
a/gcc/expr.c
b/gcc/expr.c
index dbdbaab789711fe3d9f7d07068c004fe6581d0b0..8a85200ef689cbf80013644175dde41daf70ced7 100644
(file)
--- 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)
{