[dmd-internals] [D-Programming-Language/dmd] 473cef: fix Issue 14028 - [CTFE] Possible reinterpret cast...

GitHub via dmd-internals dmd-internals at puremagic.com
Fri Jan 23 05:33:25 PST 2015


  Branch: refs/heads/master
  Home:   https://github.com/D-Programming-Language/dmd
  Commit: 473cef885b499c5620f6dfd93a0a56771d0dd3bc
      https://github.com/D-Programming-Language/dmd/commit/473cef885b499c5620f6dfd93a0a56771d0dd3bc
  Author: k-hara <k.hara.pg at gmail.com>
  Date:   2015-01-23 (Fri, 23 Jan 2015)

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

  Log Message:
  -----------
  fix Issue 14028 - [CTFE] Possible reinterpret cast to a pointer to static array

Use AddrExp + SliceExp (&aggr[a..b]) to represent a CTFE pointer to static array.


  Commit: 4a8df52639d963f6278207e7aed694fc10861dc6
      https://github.com/D-Programming-Language/dmd/commit/4a8df52639d963f6278207e7aed694fc10861dc6
  Author: Daniel Murphy <yebblies at gmail.com>
  Date:   2015-01-24 (Sat, 24 Jan 2015)

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

  Log Message:
  -----------
  Merge pull request #4326 from 9rnsr/fix14028

Issue 14028 - [CTFE] Possible reinterpret cast to a pointer to static array


Compare: https://github.com/D-Programming-Language/dmd/compare/fc4c2b0dbec9...4a8df52639d9


More information about the dmd-internals mailing list