This is the mail archive of the gcc-help@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: ra-build.c


aparna@cse.iitb.ac.in writes:

> pls can any one tell me, why this "for" loop is used
> 
> "for (insn = PREV_INSN (insn); insn && !INSN_P (insn);insn = PREV_INSN
> (insn));"
> 
> 
> IN
> function:  live_in()
> file Name: ra-build.c

It's walking the insn chain backward to find the next real insn.

ra-build.c was removed back in 2005, before the gcc 4.0 release, by
the way.

Ian


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