This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: [m32c] newlib build failure in reload
On Mon, 14 Jul 2008, DJ Delorie wrote:
> I did some work a while back to try to rearrange the reloads so that
> registers could be reused, but IMHO the right solution is for gcc to
> realize that it needs to break the insn up and reload the parts
> separately, perhaps a "relaxing reloader" that can restart reload if
> it finds it has run short of registers.
If reload is generally flaky like this for m32c, perhaps a target macro to
say not to reload addresses in the particular case my patch affects would
be a sensible approach, if things worked better without reloading them
even though as far as reload knows they need reloading.
--
Joseph S. Myers
joseph@codesourcery.com