This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: dbr_schedule vs uninitialized registers (2)
- From: Hans-Peter Nilsson <hp at bitrange dot com>
- To: Eric Botcazou <ebotcazou at adacore dot com>
- Cc: gcc-patches at gcc dot gnu dot org, rdsandiford at googlemail dot com
- Date: Tue, 28 Apr 2009 02:12:34 -0400 (EDT)
- Subject: Re: dbr_schedule vs uninitialized registers (2)
- References: <200904271247.00652.ebotcazou@adacore.com>
On Mon, 27 Apr 2009, Eric Botcazou wrote:
> 2009-04-27 Richard Sandiford <rdsandiford@googlemail.com>
> Eric Botcazou <ebotcazou@adacore.com>
>
> * resource.c (find_basic_block): Use BLOCK_FOR_INSN to look up
> a label's basic block.
> (mark_target_live_regs): Tidy and rework obsolete comments.
> Change back DF problem to LIVE. If a label starts a basic block,
> assume that all registers that used to be live then still are.
> (init_resource_info): If a label starts a basic block, set its
> BLOCK_FOR_INSN accordingly.
> (free_resource_info): Undo the setting of BLOCK_FOR_INSN.
This caused PR39938.
brgds, H-P