thanks, that works but it seems to require a -g. is there any flag which might also generate just this line information but avoid most of the other debug information.
shrey On 9/11/05, Dale Johannesen <[EMAIL PROTECTED]> wrote: > > On Sep 11, 2005, at 8:09 AM, shreyas krishnan wrote: > > > Hi, > > Can anyone tell me if there is a way to find out roughly the > > source line no of a particular rtl instruction (if there is ) ? I > > believe tree has a link to the source line no, in which case how do I > > find out the source tree node for a particular rtl stmt ? > > See INSN_LOCATOR and locator_line(). > >