]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
emit-rtl.c (set_mem_attributes): Alignment is in bits.
authorRichard Kenner <kenner@gcc.gnu.org>
Sat, 20 Oct 2001 13:15:52 +0000 (09:15 -0400)
committerRichard Kenner <kenner@gcc.gnu.org>
Sat, 20 Oct 2001 13:15:52 +0000 (09:15 -0400)
* emit-rtl.c (set_mem_attributes): Alignment is in bits.
(adjust_address_1, offset_address): Likewise.

From-SVN: r46379

gcc/emit-rtl.c

index 82f37b61396c739f66f8dba1fea2191f3dece051..eb71518ead632f89c0967f4f4112c0cf89b2e4b6 100644 (file)
@@ -1713,7 +1713,7 @@ set_mem_attributes (ref, t, objectp)
         (TYPE_SIZE_UNIT (TREE_TYPE (t))
          && host_integerp (TYPE_SIZE_UNIT (TREE_TYPE (t)), 1))
         ? GEN_INT (tree_low_cst (TYPE_SIZE_UNIT (TREE_TYPE (t)), 1))
-        : 0, DECL_ALIGN (t) / BITS_PER_UNIT);
+        : 0, DECL_ALIGN (t));
 
   /* If this is an INDIRECT_REF, we know its alignment.  */
   if (TREE_CODE (t) == INDIRECT_REF)