[dmd-internals] [D-Programming-Language/dmd] 7aa4ef: Fix issue 9744 Poor error message taking address o...

GitHub noreply at github.com
Sat Mar 30 21:51:52 PDT 2013


  Branch: refs/heads/master
  Home:   https://github.com/D-Programming-Language/dmd
  Commit: 7aa4ef0974cc9ffe2267883c2e98bf00d5285cba
      https://github.com/D-Programming-Language/dmd/commit/7aa4ef0974cc9ffe2267883c2e98bf00d5285cba
  Author: Don Clugston <emailsdontbelong at inarepository.com>
  Date:   2013-03-27 (Wed, 27 Mar 2013)

  Changed paths:
    M src/expression.h
    M src/optimize.c
    M src/template.c

  Log Message:
  -----------
  Fix issue 9744 Poor error message taking address of thread-local variable at compile time

Move the error message from the glue layer, into the interpreter.
Also fix an incorrect entry point into the glue layer.


  Commit: aa0ec787714dff32a83d2666eaf3e2e07454e254
      https://github.com/D-Programming-Language/dmd/commit/aa0ec787714dff32a83d2666eaf3e2e07454e254
  Author: Don Clugston <emailsdontbelong at inarepository.com>
  Date:   2013-03-27 (Wed, 27 Mar 2013)

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

  Log Message:
  -----------
  Fix issue 9745 Allow &staticvar in CTFE

Use SymOffExp for non-dereferenceable pointers to static variables.
It's already supported in the const-folding code, now support it in
CTFE as well. This commit adds full support for pointer arithmetic.


  Commit: 5938730465aea7092a0ef0ac5bca329f902819e7
      https://github.com/D-Programming-Language/dmd/commit/5938730465aea7092a0ef0ac5bca329f902819e7
  Author: Don Clugston <emailsdontbelong at inarepository.com>
  Date:   2013-03-27 (Wed, 27 Mar 2013)

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

  Log Message:
  -----------
  Allow pointer type-painting for pointers to global variables


  Commit: 4358e5a0d598bdd5d29009b1f753bc72984c5546
      https://github.com/D-Programming-Language/dmd/commit/4358e5a0d598bdd5d29009b1f753bc72984c5546
  Author: Don Clugston <emailsdontbelong at inarepository.com>
  Date:   2013-03-27 (Wed, 27 Mar 2013)

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

  Log Message:
  -----------
  Allow == comparison of absolute address pointers

They are mainly fake pointers, eg as used for Windows HANDLEs.
Comparison is allowed in const-folding, should be valid in CTFE too.


  Commit: 7faff241fde56a862cb644864a7edb3b4b7326ff
      https://github.com/D-Programming-Language/dmd/commit/7faff241fde56a862cb644864a7edb3b4b7326ff
  Author: Walter Bright <walter at walterbright.com>
  Date:   2013-03-30 (Sat, 30 Mar 2013)

  Changed paths:
    M src/ctfeexpr.c
    M src/expression.h
    M src/interpret.c
    M src/optimize.c
    M src/template.c
    M test/compilable/interpret3.d

  Log Message:
  -----------
  Merge pull request #1763 from donc/ctfeStaticPtr9745

9744 and 9745: allow taking address of static variables in CTFE


Compare: https://github.com/D-Programming-Language/dmd/compare/07ac09200fae...7faff241fde5


More information about the dmd-internals mailing list