On 22.09.2014 15:24, Daniel Murphy wrote:
"Rainer Schuetze" wrote in message news:[email protected]...
The branch is still in the doIt function:
Yes.
dmd didn't do any inlining at all. It is very restrained with
inlining, you'll get much better results with GDC or LDC.
Check again, it inlined doIt into main. It still writes out doIt even
though it's now unreferenced, but that doesn't have much to do with the
inliner.
Yeah, my bad. I must have been confused by your quote of the
non-inlining main.
Sorry to dmd for blaming it's inliner, again ;-)