aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>2001-10-20 09:15:52 -0400
committerRichard Kenner <kenner@gcc.gnu.org>2001-10-20 09:15:52 -0400
commit56f1f5ae6a54302d589a602fc808909968c10569 (patch)
treeb35ade83bd795f594fe095bfd23555d6747d507c
parentd022d93eed072cd2cbb1585d18d77be6c27723cf (diff)
downloadgcc-56f1f5ae6a54302d589a602fc808909968c10569.zip
gcc-56f1f5ae6a54302d589a602fc808909968c10569.tar.gz
gcc-56f1f5ae6a54302d589a602fc808909968c10569.tar.bz2
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
-rw-r--r--gcc/emit-rtl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/emit-rtl.c b/gcc/emit-rtl.c
index 82f37b6..eb71518 100644
--- a/gcc/emit-rtl.c
+++ b/gcc/emit-rtl.c
@@ -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)