On Saturday, 20 May 2017 at 10:22:14 UTC, Stanislav Blinov wrote:
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
Thanks. I've tried pragma(inline,false), it didn't help. Maybe I'l should try more way to locate the problem. Thanks.