[Issue 13383] wrong code with -O with ints, longs and bitwise operations

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Mon Sep 1 17:03:37 PDT 2014


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

--- Comment #3 from github-bugzilla at 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

--


More information about the Digitalmars-d-bugs mailing list