fix Issue 13237 Wrong code with -inline -O

https://issues.dlang.org/show_bug.cgi?id=13237