Actually, the problem is that when a function is called and the function returns a value, an error pops up at RTL. internal compiler error: in calc_dfs_tree, at dominance.c:394 Regards On Thu, May 19, 2011 at 9:02 PM, Abdul Wahid Memon <engrwahidmemon@xxxxxxxxx> wrote: > Yes I got your point that it will be invoked per function but it poses > an error when there are 2 or more functions in the source file. Is > there any thing that I am missing. If things are working even for both > the functions at GIMPLE level, then why not at RTL? > > Regards > > On Thu, May 19, 2011 at 7:29 PM, Ian Lance Taylor <iant@xxxxxxxxxx> wrote: >> Abdul Wahid Memon <engrwahidmemon@xxxxxxxxx> writes: >> >>> Thanks alot Ian. Actually it is working but when there is only once >>> function in the source file. What to do when there are more than one >>> functions. >> >> An RTL pass will normally be invoked once for each function. >> >> Ian >> >