This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: bug fix for reload reg selection
- To: Joern Rennecke <amylaar at cambridge dot redhat dot com>
- Subject: Re: bug fix for reload reg selection
- From: Bernd Schmidt <bernds at redhat dot com>
- Date: Wed, 24 Jan 2001 17:30:39 +0000 (GMT)
- Cc: <gcc-patches at gcc dot gnu dot org>
On Wed, 24 Jan 2001, Joern Rennecke wrote:
> This patch depends on the bugfix patches I sent earlier.
I've seen only one today - did you send another?
> Wed Jan 24 16:13:51 2001 J"orn Rennecke <amylaar@redhat.com>
>
> * reload1.c (reload_reg_free_for_value_p): New parameter inheritance.
> Changed all callers.
> Ignore reload_reg_unavailable for read-only uses.
> (free_for_value_p): New parameters inheritance and insn.
> Changed all callers. For read-only uses, check insn - if set - for
> clobbers of regno (using code broken out of choose_reload_regs).
> (reload_inheritance): New function, broken out of choose_reload_regs.
> (choose_reload_regs): Use it. Allow rld[r].out != 0 for equivalences
> found with find_equiv_reg.
Generally this looks like a good idea. I'll take a closer look once we're
out of the code slush.
Bernd