[dmd-internals] [D-Programming-Language/dmd] dc7878: 6282 [CTFE] ICE when dereferencing a pointer to re...

noreply at github.com noreply at github.com
Fri Jul 22 11:43:44 PDT 2011


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

  Commit: dc787833ee11ec6313503022b64e2a4aec61e7b6
      https://github.com/D-Programming-Language/dmd/commit/dc787833ee11ec6313503022b64e2a4aec61e7b6
  Author: Don Clugston <dclugston at googlemail.com>
  Date:   2011-07-22 (Fri, 22 Jul 2011)

  Changed paths:
    M src/interpret.c

  Log Message:
  -----------
  6282 [CTFE] ICE when dereferencing a pointer to reference type from 'in' of an AA

The ICE is simply caused by failure to set the type correctly.
But there are also two different forms of rejects-valid when the dereference
is an lvalue rather than an rvalue.


  Commit: 949da410091b62f24758257fbba985d2f7cf915d
      https://github.com/D-Programming-Language/dmd/commit/949da410091b62f24758257fbba985d2f7cf915d
  Author: Don Clugston <dclugston at googlemail.com>
  Date:   2011-07-22 (Fri, 22 Jul 2011)

  Changed paths:
    M test/compilable/interpret3.d

  Log Message:
  -----------
  Test cases for 6282


  Commit: 475b4bcef237986fdaf8fe27a31865451c058654
      https://github.com/D-Programming-Language/dmd/commit/475b4bcef237986fdaf8fe27a31865451c058654
  Author: Don Clugston <dclugston at googlemail.com>
  Date:   2011-07-22 (Fri, 22 Jul 2011)

  Changed paths:
    M src/interpret.c

  Log Message:
  -----------
  6337 [CTFE] ICE when touching member variable of struct during CTFE

We shouldn't re-evaluate 'this' for member function calls. (If it is a
struct literal instead of a variable, we were duping it).


  Commit: 9d80f32b471c023b8cbca7fe48f0737247f850b0
      https://github.com/D-Programming-Language/dmd/commit/9d80f32b471c023b8cbca7fe48f0737247f850b0
  Author: Don Clugston <dclugston at googlemail.com>
  Date:   2011-07-22 (Fri, 22 Jul 2011)

  Changed paths:
    M test/compilable/interpret3.d

  Log Message:
  -----------
  Test case for 6337


  Commit: d17b752c049457a98804f02c9b3f2e4d1d701865
      https://github.com/D-Programming-Language/dmd/commit/d17b752c049457a98804f02c9b3f2e4d1d701865
  Author: Walter Bright <walter at walterbright.com>
  Date:   2011-07-22 (Fri, 22 Jul 2011)

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

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

CTFE 6282 and 6337


Compare: https://github.com/D-Programming-Language/dmd/compare/af84937...d17b752


More information about the dmd-internals mailing list