On Monday, 17 February 2014 at 14:51:20 UTC, Kenji Hara wrote:
If a function is only used for CTFE, compiler can elide its codegen. It'sin the scope of optimization.
It can't know for sure it without some sort of WPO / LTO - and those won't happen any time soon. I propose a simple workaround that can be done right now (it can be optional compiler-specific addition)