24-Feb-2013 04:14, Ali Çehreli пишет:
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?
AFAIK NRVO/RVO are working w/o -O switch and are performed in the front-end (for better or worse).
Thank you, Ali
-- Dmitry Olshansky
