[dmd-internals] [D-Programming-Language/dmd] e14242: Fix Issue 13383 - wrong code with -O with ints, lo...

GitHub via dmd-internals dmd-internals at puremagic.com
Mon Sep 1 17:03:35 PDT 2014


  Branch: refs/heads/master
  Home:   https://github.com/D-Programming-Language/dmd
  Commit: e14242906651c07247e41e37de1d27a18b81e54b
      https://github.com/D-Programming-Language/dmd/commit/e14242906651c07247e41e37de1d27a18b81e54b
  Author: Daniel Murphy <yebblies at gmail.com>
  Date:   2014-08-31 (Sun, 31 Aug 2014)

  Changed paths:
    M src/backend/cgelem.c
    M test/runnable/mars1.d

  Log Message:
  -----------
  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.


  Commit: 10edd8d6121ffffd916bc94768723b15c6a321c1
      https://github.com/D-Programming-Language/dmd/commit/10edd8d6121ffffd916bc94768723b15c6a321c1
  Author: Walter Bright <walter at walterbright.com>
  Date:   2014-09-01 (Mon, 01 Sep 2014)

  Changed paths:
    M src/backend/cgelem.c
    M test/runnable/mars1.d

  Log Message:
  -----------
  Merge pull request #3934 from yebblies/issue13383

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


Compare: https://github.com/D-Programming-Language/dmd/compare/eee87f646bc4...10edd8d6121f


More information about the dmd-internals mailing list