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]

Re: hppa "unaligned access" fix




  In message <Pine.LNX.4.21.0102140012260.32094-100000@front.linuxcare.com.au>y
ou write:
  > This little patch stops hppa gcc bombing with bus errors on asm
  > statement rtl like the following.
  > 
  > (insn 107 105 109 (parallel[ 
  >             (asm_operands/v ("ssm %0,%%r0") ("") 0
  >                 [ 
  >                     (const_int 1 [0x1])
  >                 ] 
  >                 [ 
  >                     (asm_input:SI ("i"))
  >                 ]  ("init/main.c") 571)
  >             (clobber (mem:BLK (scratch) 0))
  >         ] ) -1 (insn_list 105 (nil))
  >     (nil))
  > 
  > Almost in the obvious class.  Would someone check it in please?
  > 
  > 	* config/pa/pa.c (pa_adjust_insn_length): Check that block move
  > 	pattern is a set before looking at operands.
Thanks.  Installed.

jeff


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