gcc/resource.c mark_target_live_regs Question

Richard Henderson rth@redhat.com
Wed Feb 14 17:00:00 GMT 2001


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~



More information about the Gcc mailing list