This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Buglet in last change


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));
  

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]