This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: gcc/resource.c mark_target_live_regs Question
- To: Jeffrey Oldham <oldham at codesourcery dot com>
- Subject: Re: gcc/resource.c mark_target_live_regs Question
- From: Richard Henderson <rth at redhat dot com>
- Date: Wed, 14 Feb 2001 17:00:30 -0800
- Cc: gcc at gcc dot gnu dot org, geoffk at redhat dot com
- References: <200102150009.QAA07600@oz.codesourcery.com>
On Wed, Feb 14, 2001 at 04:09:57PM -0800, Jeffrey Oldham wrote:
> Why does resource.c's mark_target_live_regs() start computing live
> registers at the previous BARRIER rather than the beginning of the
> basic block containing the target?
Because this code is used during reorg, aka delay-slot filling,
which completely destroys the CFG. If we can get someone to
rewrite reorg (preferably as part of the scheduler), then we
can remove resource.c altogether.
r~