[dmd-internals] [D-Programming-Language/dmd] a48007: 6721 [CTFE] Cannot get pointer to start of char[]

noreply at github.com noreply at github.com
Mon Sep 26 22:41:31 PDT 2011


  Branch: refs/heads/master
  Home:   https://github.com/D-Programming-Language/dmd

  Commit: a48007b702870dc7f5915f8aea18f3dc3423d8f3
      https://github.com/D-Programming-Language/dmd/commit/a48007b702870dc7f5915f8aea18f3dc3423d8f3
  Author: Don Clugston <dclugston at googlemail.com>
  Date:   2011-09-26 (Mon, 26 Sep 2011)

  Changed paths:
    M src/interpret.c

  Log Message:
  -----------
  6721 [CTFE] Cannot get pointer to start of char[]

Also fixes
6727 [CTFE] ICE(interpret.c): assignment from string.dup.ptr
It's a problem with casts of string literals.


  Commit: 9161d4698d3498d11d530f5e01333cd95a77b18a
      https://github.com/D-Programming-Language/dmd/commit/9161d4698d3498d11d530f5e01333cd95a77b18a
  Author: Don Clugston <dclugston at googlemail.com>
  Date:   2011-09-26 (Mon, 26 Sep 2011)

  Changed paths:
    M test/compilable/interpret3.d

  Log Message:
  -----------
  Test cases for 6727 and 6721


  Commit: a6b35ad77687f244be53f2e84a14e059b98f4445
      https://github.com/D-Programming-Language/dmd/commit/a6b35ad77687f244be53f2e84a14e059b98f4445
  Author: Don Clugston <dclugston at googlemail.com>
  Date:   2011-09-26 (Mon, 26 Sep 2011)

  Changed paths:
    M src/interpret.c

  Log Message:
  -----------
  6693 [CTFE] Cannot set value to nested AA

Complete overhaul of AA assignment. If the AA is null, it needs to be
changed from AA[key] = value into AA = [key : value]. Since this can be
any form of assignment, it needs to be done before everything else. After
having done this, it made sense to pull the whole AA assignment out of
indexing assignment, since it has very little in common.


  Commit: f35b3cb439e8160e0e8e4fbba8d28db8ce71de4c
      https://github.com/D-Programming-Language/dmd/commit/f35b3cb439e8160e0e8e4fbba8d28db8ce71de4c
  Author: Don Clugston <dclugston at googlemail.com>
  Date:   2011-09-26 (Mon, 26 Sep 2011)

  Changed paths:
    M test/compilable/interpret3.d

  Log Message:
  -----------
  Test cases for 6693


  Commit: 164ed24683e01d5af954579eaff2303b94bc0b31
      https://github.com/D-Programming-Language/dmd/commit/164ed24683e01d5af954579eaff2303b94bc0b31
  Author: Walter Bright <walter at walterbright.com>
  Date:   2011-09-26 (Mon, 26 Sep 2011)

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

  Log Message:
  -----------
  Merge pull request #412 from donc/ctfebreak

Fix CTFE ICE bugs 6693 6721 and 6727


Compare: https://github.com/D-Programming-Language/dmd/compare/595a030...164ed24


More information about the dmd-internals mailing list