This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: REG_DEAD notes and local alloc bug
- From: Richard Henderson <rth at redhat dot com>
- To: Andrew Macleod <amacleod at cygnus dot com>
- Cc: gcc-bugs at gcc dot gnu dot org, gcc-patches at gcc dot gnu dot org
- Date: Sat, 24 Nov 2001 12:02:50 -0800
- Subject: Re: REG_DEAD notes and local alloc bug
- References: <200111221705.JAA13166@rtl.cygnus.com>
[Get raw message]
On Thu, Nov 22, 2001 at 09:05:36AM -0800, Andrew Macleod wrote:
> It consisted of a sign extend in a loop which required an initialization.
> The insn in the loop was then elimated during combine. When local_alloc() is
> run, the register life info is out of date, so compute_reg_usage() is called.
> This routine recalculates the register info, but it doesn't do anything about
> the REG_DEAD notes, and local_alloc appears to use them.
combine is supposed to handle the reg_dead note itself, either
in distribute_notes, or in its call to update_life_info.
r~