[dmd-internals] [D-Programming-Language/dmd] 059cf1: Remove undefined behavior from test23.

GitHub noreply at github.com
Tue May 7 11:09:53 PDT 2013


  Branch: refs/heads/master
  Home:   https://github.com/D-Programming-Language/dmd
  Commit: 059cf1450ce113392667a3ab7c48d620a4574db3
      https://github.com/D-Programming-Language/dmd/commit/059cf1450ce113392667a3ab7c48d620a4574db3
  Author: David Nadlinger <code at klickverbot.at>
  Date:   2013-05-06 (Mon, 06 May 2013)

  Changed paths:
    M test/runnable/test23.d

  Log Message:
  -----------
  Remove undefined behavior from test23.

The code tried to load 4 bytes from an 1-3 byte allocation.
LLVM's optimizer actually detects this, marking the entire
result undefined.


  Commit: 11c01fefa62784a7f7618515138c526a58cc4dc8
      https://github.com/D-Programming-Language/dmd/commit/11c01fefa62784a7f7618515138c526a58cc4dc8
  Author: Daniel Murphy <yebblies at gmail.com>
  Date:   2013-05-07 (Tue, 07 May 2013)

  Changed paths:
    M test/runnable/test23.d

  Log Message:
  -----------
  Merge pull request #1966 from klickverbot/test23-fix

Remove undefined behavior from test23.


Compare: https://github.com/D-Programming-Language/dmd/compare/c3d0c0d4be2d...11c01fefa627


More information about the dmd-internals mailing list