diff options
author | Richard Kenner <kenner@vlsi1.ultra.nyu.edu> | 2000-03-30 18:17:19 +0000 |
---|---|---|
committer | Richard Kenner <kenner@gcc.gnu.org> | 2000-03-30 13:17:19 -0500 |
commit | 14c78e9b16c644659cbe8c83cc598b49ca30742c (patch) | |
tree | 3669a364ad3995463279570236448be6b35a011b /gcc | |
parent | 2b968770d72864d5ef57eb36b66973cafb5f4f9b (diff) | |
download | gcc-14c78e9b16c644659cbe8c83cc598b49ca30742c.zip gcc-14c78e9b16c644659cbe8c83cc598b49ca30742c.tar.gz gcc-14c78e9b16c644659cbe8c83cc598b49ca30742c.tar.bz2 |
expr.c (move_by_pieces_ninsns): Fix one more missing align correction.
* expr.c (move_by_pieces_ninsns): Fix one more missing align
correction.
From-SVN: r32831
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 3 | ||||
-rw-r--r-- | gcc/expr.c | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index df3176e..e7757f8 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,8 @@ Thu Mar 30 06:32:51 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> + * expr.c (move_by_pieces_ninsns): Fix one more missing align + correction. + * expmed.c (store_fixed_bit_field): STRUCT_ALIGN is in bits. * calls.c (expand_call): Pass bit alignment to mark_reg_pointer. @@ -1498,7 +1498,7 @@ move_by_pieces_ninsns (l, align) if (! SLOW_UNALIGNED_ACCESS (word_mode, align) || align > MOVE_MAX * BITS_PER_UNIT || align >= BIGGEST_ALIGNMENT) - align = MOVE_MAX; + align = MOVE_MAX * BITS_PER_UNIT; while (max_size > 1) { |