On Saturday, 20 May 2017 at 08:02:26 UTC, lixiaozi wrote:
so, what should i do to disable inlining of ldc2 in release build?
As Stefan mentioned, a test case would be nice. But have you tried annotating the offending function with pragma(inline, false)?
http://dlang.org/spec/pragma.html#inline