aboutsummaryrefslogtreecommitdiff
path: root/gcc/rtl.h
diff options
context:
space:
mode:
authorRichard Kenner <kenner@vlsi1.ultra.nyu.edu>2001-10-20 12:30:26 +0000
committerRichard Kenner <kenner@gcc.gnu.org>2001-10-20 08:30:26 -0400
commitd022d93eed072cd2cbb1585d18d77be6c27723cf (patch)
tree9de4b8f33f96f533e92c2928fc6a7aba2cd18b35 /gcc/rtl.h
parent4f9b4029463bc07cc04b20fb0a24d7516f455d02 (diff)
downloadgcc-d022d93eed072cd2cbb1585d18d77be6c27723cf.zip
gcc-d022d93eed072cd2cbb1585d18d77be6c27723cf.tar.gz
gcc-d022d93eed072cd2cbb1585d18d77be6c27723cf.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: r46378
Diffstat (limited to 'gcc/rtl.h')
-rw-r--r--gcc/rtl.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/rtl.h b/gcc/rtl.h
index d6908e9..45b62ee 100644
--- a/gcc/rtl.h
+++ b/gcc/rtl.h
@@ -95,7 +95,7 @@ typedef struct
tree decl; /* decl corresponding to MEM. */
rtx offset; /* Offset from start of DECL, as CONST_INT. */
rtx size; /* Size in bytes, as a CONST_INT. */
- unsigned int align; /* Alignment of MEM in bytes. */
+ unsigned int align; /* Alignment of MEM in bits. */
} mem_attrs;
/* Common union for an element of an rtx. */
@@ -912,7 +912,7 @@ extern unsigned int subreg_regno PARAMS ((rtx));
is always a CONST_INT. */
#define MEM_SIZE(RTX) (MEM_ATTRS (RTX) == 0 ? 0 : MEM_ATTRS (RTX)->size)
-/* For a MEM rtx, the alignment in bytes. */
+/* For a MEM rtx, the alignment in bits. */
#define MEM_ALIGN(RTX) (MEM_ATTRS (RTX) == 0 ? 1 : MEM_ATTRS (RTX)->align)
/* Copy the attributes that apply to memory locations from RHS to LHS. */