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:
parent
d022d93eed
commit
56f1f5ae6a
|
@ -1713,7 +1713,7 @@ set_mem_attributes (ref, t, objectp)
|
||||||
(TYPE_SIZE_UNIT (TREE_TYPE (t))
|
(TYPE_SIZE_UNIT (TREE_TYPE (t))
|
||||||
&& host_integerp (TYPE_SIZE_UNIT (TREE_TYPE (t)), 1))
|
&& host_integerp (TYPE_SIZE_UNIT (TREE_TYPE (t)), 1))
|
||||||
? GEN_INT (tree_low_cst (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 this is an INDIRECT_REF, we know its alignment. */
|
||||||
if (TREE_CODE (t) == INDIRECT_REF)
|
if (TREE_CODE (t) == INDIRECT_REF)
|
||||||
|
|
Loading…
Reference in New Issue