projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c2b6b9a
)
(store_constructor): Handle non-zero array lower bound.
author
Richard Kenner
<kenner@gcc.gnu.org>
Wed, 20 Oct 1993 21:39:45 +0000
(17:39 -0400)
committer
Richard Kenner
<kenner@gcc.gnu.org>
Wed, 20 Oct 1993 21:39:45 +0000
(17:39 -0400)
From-SVN: r5835
gcc/expr.c
patch
|
blob
|
history
diff --git
a/gcc/expr.c
b/gcc/expr.c
index 59ee991a5a68ad1300c0a825566bf65c57eb2578..6c54d65689a8f37b2da409acc58daa55556c8abb 100644
(file)
--- a/
gcc/expr.c
+++ b/
gcc/expr.c
@@
-2894,7
+2894,7
@@
store_constructor (exp, target)
else
{
if (index != 0)
- bitpos = (
TREE_INT_CST_LOW (index
)
+ bitpos = (
(TREE_INT_CST_LOW (index) - minelt
)
* TREE_INT_CST_LOW (TYPE_SIZE (elttype)));
else
bitpos = (i * TREE_INT_CST_LOW (TYPE_SIZE (elttype)));