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]
Other format: [Raw text]

Re: [PATCH] reload: Remove dead set of used_spill_regs


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


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