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: Recent reload_cse_regs change



  In message <Pine.GSO.4.02A.9901231447580.12469-100000@jennifer.informatik.rwt
h-aachen.de>you write:
[ ... ]  > 
  > Here, the earlyclobbered reg edi is used in the address of one of the
  > inputs.  This causes the compiler to blow up later when it calls
  > constrain_operands for this insn.
  > 
  > I suggest the following patch.  Similar code already exists in
  > combine_reloads.
  > 
  > Bernd
  > 
  >         * reload1.c (reload_cse_regs_1): Undo Jan 16 patch.
  > 	* reload.c (find_reusable_reload): New function, broken out of
  > 	push_reload.  Add code to verify that none of the involved
  > 	outputs are subject to earlyclobbers.
  > 	(push_reload): Break out new function find_reusable_reload.
  > 	Delete "register" keyword for IN, OUT args.
I've installed this patch.

Thanks!

jeff


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