[dmd-internals] [D-Programming-Language/dmd] 71e616: Fix issue 7876 [CTFE] assertion failure on invalid...

GitHub noreply at github.com
Wed Aug 22 10:04:18 PDT 2012


  Branch: refs/heads/master
  Home:   https://github.com/D-Programming-Language/dmd
  Commit: 71e616bdc12fc6abb9a5b5f5d3c4db894e95b0df
      https://github.com/D-Programming-Language/dmd/commit/71e616bdc12fc6abb9a5b5f5d3c4db894e95b0df
  Author: Don Clugston <don.clugston at sociomantic.com>
  Date:   2012-08-22 (Wed, 22 Aug 2012)

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

  Log Message:
  -----------
  Fix issue 7876 [CTFE] assertion failure on invalid stack reference

Generate an error when returning a pointer to a local variable.
Includes the case where the pointer is a member of an array or struct.


  Commit: cdd8d78136099ed49b0b330aaad17e041bb87dd7
      https://github.com/D-Programming-Language/dmd/commit/cdd8d78136099ed49b0b330aaad17e041bb87dd7
  Author: Walter Bright <walter at walterbright.com>
  Date:   2012-08-22 (Wed, 22 Aug 2012)

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

  Log Message:
  -----------
  Merge pull request #1092 from donc/7887pointertostack

Fix issue 7876 [CTFE] assertion failure on invalid stack reference


Compare: https://github.com/D-Programming-Language/dmd/compare/578ba6634f9d...cdd8d7813609


More information about the dmd-internals mailing list