https://issues.dlang.org/show_bug.cgi?id=13383
--- Comment #3 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/e14242906651c07247e41e37de1d27a18b81e54b Fix Issue 13383 - wrong code with -O with ints, longs and bitwise operations Converting '(1 << a) & b' to 'b btst a' is only valid when the constant fits in a register. https://github.com/D-Programming-Language/dmd/commit/10edd8d6121ffffd916bc94768723b15c6a321c1 Merge pull request #3934 from yebblies/issue13383 Issue 13383 - wrong code with -O with ints, longs and bitwise operations --