https://issues.dlang.org/show_bug.cgi?id=13474 --- Comment #11 from Илья Ярошенко <ilyayaroshenko at gmail.com> --- OK. This is DMD optimization bug too. DMD compiles (-d)+(d+d) instead of ((-d)+d)+d. --