From e0339ef7a37ec257b5f32a2dbd6c033974924242 Mon Sep 17 00:00:00 2001 From: Richard Kenner Date: Tue, 2 Jan 2001 11:40:35 -0500 Subject: [PATCH] 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 --- gcc/ChangeLog | 5 +++++ gcc/expr.c | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 3dece5f4013..d379f7a929d 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +Tue Jan 2 10:47:38 2001 Richard Kenner * config/mips/mips.c (function_arg): Don't pass NULL_TREE to diff --git a/gcc/expr.c b/gcc/expr.c index 25379e7a735..114f74f40a3 100644 --- a/gcc/expr.c +++ b/gcc/expr.c @@ -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 -- 2.30.2