On Sunday, 24 February 2013 at 00:14:14 UTC, Ali Çehreli wrote:
Does the compiler inline any function even without -inline?What level of optimization is applied even without -O? One that comes to mind is the elision of certain struct object copies. Is such an optimization applied without -O? If so, are there similar other optimizations?Thank you, Ali
I would bet for register promotions, dead read/write eliminations and alike. I don't expect inline to be part of it.
