aboutsummaryrefslogtreecommitdiff
path: root/gcc/expr.c
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>2001-01-02 11:46:26 -0500
committerRichard Kenner <kenner@gcc.gnu.org>2001-01-02 11:46:26 -0500
commiteeebb824377d936450adefc8ea868e23ae35b9ef (patch)
treef0537a036d0787c746f5bea7b223ef5d244bae53 /gcc/expr.c
parente0339ef7a37ec257b5f32a2dbd6c033974924242 (diff)
downloadgcc-eeebb824377d936450adefc8ea868e23ae35b9ef.zip
gcc-eeebb824377d936450adefc8ea868e23ae35b9ef.tar.gz
gcc-eeebb824377d936450adefc8ea868e23ae35b9ef.tar.bz2
Fix last change
From-SVN: r38630
Diffstat (limited to 'gcc/expr.c')
-rw-r--r--gcc/expr.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/expr.c b/gcc/expr.c
index 114f74f..837c9de 100644
--- a/gcc/expr.c
+++ b/gcc/expr.c
@@ -4342,7 +4342,8 @@ store_constructor_field (target, bitsize, bitpos,
/* Show the alignment may no longer be what it was and update the alias
set, if required. */
- align = MIN (align, bitpos & - bitpos);
+ if (bitpos != 0)
+ align = MIN (align, bitpos & - bitpos);
if (GET_CODE (target) == MEM)
MEM_ALIAS_SET (target) = alias_set;