diff options
author | Richard Kenner <kenner@vlsi1.ultra.nyu.edu> | 2001-01-02 11:40:35 -0500 |
---|---|---|
committer | Richard Kenner <kenner@gcc.gnu.org> | 2001-01-02 11:40:35 -0500 |
commit | e0339ef7a37ec257b5f32a2dbd6c033974924242 (patch) | |
tree | 569042c7ab402bdfaac2b3453d6582e65a3bedb1 /gcc/expr.c | |
parent | bd86a96456fdfdb1c3f5803b993a55b0ad08bb56 (diff) | |
download | gcc-e0339ef7a37ec257b5f32a2dbd6c033974924242.zip gcc-e0339ef7a37ec257b5f32a2dbd6c033974924242.tar.gz gcc-e0339ef7a37ec257b5f32a2dbd6c033974924242.tar.bz2 |
expr.c (store_constructor_field): Update ALIGN before calling store_constructor.
* expr.c (store_constructor_field): Update ALIGN before calling
store_constructor.
From-SVN: r38629
Diffstat (limited to 'gcc/expr.c')
-rw-r--r-- | gcc/expr.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -4339,8 +4339,13 @@ store_constructor_field (target, bitsize, bitpos, plus_constant (XEXP (target, 0), bitpos / BITS_PER_UNIT)); + + /* Show the alignment may no longer be what it was and update the alias + set, if required. */ + align = MIN (align, bitpos & - bitpos); if (GET_CODE (target) == MEM) MEM_ALIAS_SET (target) = alias_set; + store_constructor (exp, target, align, cleared, bitsize / BITS_PER_UNIT); } else |