[PATCH] reload: Remove dead set of used_spill_regs

Ian Lance Taylor iant@google.com
Wed Jun 14 16:57:00 GMT 2006


Andreas Krebbel <krebbel1@de.ibm.com> writes:

> the code setting used_spill_regs at the end of reload seems 
> pointless to me since used_spill_regs is a static variable 
> and not used in function reload or its callees after that point.

When used_spill_regs was introduced, January 24, 1996, it was used to
communicate information to reorg.c.  That use was removed October 15,
1998.  So, yes, setting used_spill_regs at the end of reload is now
useless.

> 2006-06-14  Andreas Krebbel  <krebbel1@de.ibm.com>
> 
> 	* reload1.c (reload): Remove loop setting used_spill_regs.

This is OK when we go back to stage 1.

Thanks.

:REVIEWMAIL:

Ian



More information about the Gcc-patches mailing list