REG_DEAD notes and local alloc bug

Richard Henderson rth@redhat.com
Sat Nov 24 12:02:00 GMT 2001


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~



More information about the Gcc-bugs mailing list