On 05/27/2012 06:10 AM, Ayonam Ray wrote: > The compiler doesn't generate the RTL for the function foo at -O0. > Since the function is not inlined at -O0, there is a call to foo() in > bar() and the function foo() does not exist in the assembly generated. It works for me with gcc version 4.1.2 x86_64. Andrew.