[patch] Remove a suspicious checking in rtlanal.c.

law@redhat.com law@redhat.com
Wed Jan 9 15:21:00 GMT 2002


  > Attached is a patch to remove a suspicious rtl checking.
  > 
  > can_combine_p in combine.c calls find_reg_fusage in rtlanal.c,
  > specifically looking for USE.  However, with rtl checking enabled,
  > SET_DEST does not take anything other than SET and CLOBBER, resulting
  > in abort.
  > 
  > This patch fixes the failure of 921011-2.c on h8300 port with -mno-h,
  > which occurs only with rtl checking enabled.
  > 
  > Testing is in progress on h8300 port.  OK to apply if the testing goes
  > well?
  >
  > Kazu Hirata
  > 
  > 2002-01-04  Kazu Hirata  <kazu@hxi.com>
  > 
  > 	* rtlanal.c (find_reg_fusage): Use XEXP instead of SET_DEST
  > 	to extract items in the expr_list chain.
Yes, this is fine.

jeff



More information about the Gcc-patches mailing list