emit-rtl.c (set_mem_attributes): Alignment is in bits.

* emit-rtl.c (set_mem_attributes): Alignment is in bits.
	(adjust_address_1, offset_address): Likewise.

From-SVN: r46379
This commit is contained in:
Richard Kenner 2001-10-20 09:15:52 -04:00
parent d022d93eed
commit 56f1f5ae6a

View 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)