This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: REG_DEAD notes and local alloc bug

[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~


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]