[dmd-internals] [D-Programming-Language/dmd] ee659d: Fix Issue 12503 - Bad optimization with scope(succ...

GitHub via dmd-internals dmd-internals at puremagic.com
Fri Aug 15 11:39:24 PDT 2014


  Branch: refs/heads/master
  Home:   https://github.com/D-Programming-Language/dmd
  Commit: ee659d780bcc2b2d6c29c3930cc122ff481e9465
      https://github.com/D-Programming-Language/dmd/commit/ee659d780bcc2b2d6c29c3930cc122ff481e9465
  Author: Daniel Murphy <yebblies at gmail.com>
  Date:   2014-08-12 (Tue, 12 Aug 2014)

  Changed paths:
    M src/irstate.c
    M src/irstate.h
    M src/s2ir.c
    M test/runnable/xtest46.d

  Log Message:
  -----------
  Fix Issue 12503 - Bad optimization with scope(success) and return statement

The current code only lists the finally block as a successor of the return statement when the return directly inside the finally's try block.


  Commit: 426845f8efa66f85300fad45396666faf57b24e1
      https://github.com/D-Programming-Language/dmd/commit/426845f8efa66f85300fad45396666faf57b24e1
  Author: Walter Bright <walter at walterbright.com>
  Date:   2014-08-15 (Fri, 15 Aug 2014)

  Changed paths:
    M src/irstate.c
    M src/irstate.h
    M src/s2ir.c
    M test/runnable/xtest46.d

  Log Message:
  -----------
  Merge pull request #3826 from yebblies/issue12503

Issue 12503 - Bad optimization with scope(success) and return statement


Compare: https://github.com/D-Programming-Language/dmd/compare/9539a196046f...426845f8efa6


More information about the dmd-internals mailing list