[dmd-internals] [D-Programming-Language/dmd] c991a7: Fix bug 10251 CTFE: Allow returning pointers to gl...

GitHub noreply at github.com
Tue Jun 4 18:08:56 PDT 2013


  Branch: refs/heads/master
  Home:   https://github.com/D-Programming-Language/dmd
  Commit: c991a71391c0667e9e7f95cec746897c3092d002
      https://github.com/D-Programming-Language/dmd/commit/c991a71391c0667e9e7f95cec746897c3092d002
  Author: Don Clugston <emailsdontbelong at inarepository.com>
  Date:   2013-06-03 (Mon, 03 Jun 2013)

  Changed paths:
    M src/interpret.c
    M test/compilable/interpret3.d

  Log Message:
  -----------
  Fix bug 10251 CTFE: Allow returning pointers to global statics of known value

Don't expand pointers to global variables.
They should stay as a SymOffExp, even if their value is known.


  Commit: 49849104e815564439355224aab0b295c66307de
      https://github.com/D-Programming-Language/dmd/commit/49849104e815564439355224aab0b295c66307de
  Author: Walter Bright <walter at walterbright.com>
  Date:   2013-06-04 (Tue, 04 Jun 2013)

  Changed paths:
    M src/interpret.c
    M test/compilable/interpret3.d

  Log Message:
  -----------
  Merge pull request #2126 from donc/ctfe_10251pointerglobal

10251 CTFE returning pointers to global statics of known value


Compare: https://github.com/D-Programming-Language/dmd/compare/0ec66ad7bca4...49849104e815


More information about the dmd-internals mailing list