[dmd-internals] [D-Programming-Language/dmd] 7daa39: fix Issue 8939 - ICE(glue.c) on passing by ref sta...

GitHub noreply at github.com
Wed Nov 14 18:46:07 PST 2012


  Branch: refs/heads/master
  Home:   https://github.com/D-Programming-Language/dmd
  Commit: 7daa39cc3ff563b50004cda86f4cdc1ae76c2888
      https://github.com/D-Programming-Language/dmd/commit/7daa39cc3ff563b50004cda86f4cdc1ae76c2888
  Author: k-hara <k.hara.pg at gmail.com>
  Date:   2012-11-14 (Wed, 14 Nov 2012)

  Changed paths:
    M src/expression.c
    M src/interpret.c
    M src/optimize.c
    M test/runnable/constfold.d

  Log Message:
  -----------
  fix Issue 8939 - ICE(glue.c) on passing by ref statically initialized const/immutable variable

Don't optimize an argument on ref parameter, even which can interpret at compile time.


  Commit: a1e763cda40722305adb924509dd726af99e9e45
      https://github.com/D-Programming-Language/dmd/commit/a1e763cda40722305adb924509dd726af99e9e45
  Author: Walter Bright <walter at walterbright.com>
  Date:   2012-11-14 (Wed, 14 Nov 2012)

  Changed paths:
    M src/expression.c
    M src/interpret.c
    M src/optimize.c
    M test/runnable/constfold.d

  Log Message:
  -----------
  Merge pull request #1288 from 9rnsr/fix8939

Issue 8939 - ICE(glue.c) on passing by ref statically initialized const/immutable variable


Compare: https://github.com/D-Programming-Language/dmd/compare/a227688faf86...a1e763cda407


More information about the dmd-internals mailing list