On 01/16/2012 01:11 AM, Eitan Adler wrote: > clang does something similar with -O4 (link time optimization). See > http://llvm.org/docs/LinkTimeOptimization.html near "In this > example, the linker recognizes that foo2() ...." for more details Will check it out. Thx!