Fix last change
authorRichard Kenner <kenner@gcc.gnu.org>
Tue, 2 Jan 2001 16:46:26 +0000 (11:46 -0500)
committerRichard Kenner <kenner@gcc.gnu.org>
Tue, 2 Jan 2001 16:46:26 +0000 (11:46 -0500)
From-SVN: r38630

gcc/expr.c

index 114f74f40a3ba4484e8e3697de8de5f93fd1e09d..837c9def7325eda40497d17a5ef824308b8e7aa4 100644 (file)
@@ -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;