Are there any default dmd optimizations
Dmitry Olshansky
dmitry.olsh at gmail.com
Sat Feb 23 22:53:39 PST 2013
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
More information about the Digitalmars-d
mailing list