This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Buglet in last change
- To: gcc-patches at gcc dot gnu dot org
- Subject: Buglet in last change
- From: kenner at vlsi1 dot ultra dot nyu dot edu (Richard Kenner)
- Date: Thu, 30 Mar 00 09:22:09 EST
Further testing showed one place missing:
Thu Mar 30 06:32:51 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
* expmed.c (store_fixed_bit_field): STRUCT_ALIGN is in bits.
*** expmed.c 2000/03/30 11:47:05 1.54
--- expmed.c 2000/03/30 14:08:09
*************** store_fixed_bit_field (op0, offset, bits
*** 647,651 ****
if (! SLOW_UNALIGNED_ACCESS (word_mode, struct_align))
! struct_align = BIGGEST_ALIGNMENT / BITS_PER_UNIT;
/* There is a case not handled here:
--- 647,651 ----
if (! SLOW_UNALIGNED_ACCESS (word_mode, struct_align))
! struct_align = BIGGEST_ALIGNMENT;
/* There is a case not handled here:
*************** store_fixed_bit_field (op0, offset, bits
*** 675,679 ****
mode = get_best_mode (bitsize, bitpos + offset * BITS_PER_UNIT,
! struct_align * BITS_PER_UNIT, word_mode,
GET_CODE (op0) == MEM && MEM_VOLATILE_P (op0));
--- 675,679 ----
mode = get_best_mode (bitsize, bitpos + offset * BITS_PER_UNIT,
! struct_align, word_mode,
GET_CODE (op0) == MEM && MEM_VOLATILE_P (op0));