"bearophile" wrote in message news:rrtewrwyiuhmkvmhf...@forum.dlang.org...
> Seems like something that would fit in well with dscanner.Nope. It's not a bug for the programmer, it's an optimization pass for the compiler. And it should work after inlining.
It's not a programmer bug, but that doesn't mean a tool to suggest possible optimizations and point out potential performance bottlenecks wouldn't be useful.