[phobos] [dlang/phobos] 3bed8d: fix gdc-dmd test - remove the workound for Issue 1...

GitHub via phobos phobos at puremagic.com
Sun Oct 9 12:40:05 PDT 2016


  Branch: refs/heads/master
  Home:   https://github.com/dlang/phobos
  Commit: 3bed8dfd33dffb40dc2fbb5850ebc26bccc3888f
      https://github.com/dlang/phobos/commit/3bed8dfd33dffb40dc2fbb5850ebc26bccc3888f
  Author: Martin Nowak <code at dawg.eu>
  Date:   2016-10-09 (Sun, 09 Oct 2016)

  Changed paths:
    M std/typecons.d

  Log Message:
  -----------
  fix gdc-dmd test - remove the workound for Issue 15316

- we can't really solve Issue 15316 w/ signaling NaNs
  b/c any optimization, copying et.al. might turn signaling into
  quiet NaNs, therefor we want to solve Issue 15316 by switching
  Float.init to use quiet NaNs
- the workaround depends on a specific dmd bug (see #6163)
  that looses SNaNs when writing struct initializers but keeps
  them for Float.init
- this workaround might not be portable to GDC/LDC and
  will easily break w/ slightly different dmd optimizations
  (it's responsible for the test failure of the gdc-built dmd)
- this PR will reopen https://issues.dlang.org/show_bug.cgi?id=11135

this partially reverts commit 0efa1d3bf92bcaa6c4a99cad0b574185a537906a


  Commit: 50a264628f411d41acec522e0f70fe6677ffd0c8
      https://github.com/dlang/phobos/commit/50a264628f411d41acec522e0f70fe6677ffd0c8
  Author: Andrei Alexandrescu <andrei at erdani.com>
  Date:   2016-10-09 (Sun, 09 Oct 2016)

  Changed paths:
    M std/typecons.d

  Log Message:
  -----------
  Merge pull request #4844 from MartinNowak/revert_3797

fix gdc-dmd test - remove the workound for Issue 15316


  Commit: 6bbbc6b7a69e12ac6f757bf4a32c2c5f93de54e4
      https://github.com/dlang/phobos/commit/6bbbc6b7a69e12ac6f757bf4a32c2c5f93de54e4
  Author: Martin Nowak <code at dawg.eu>
  Date:   2016-10-09 (Sun, 09 Oct 2016)

  Changed paths:
    M std/typecons.d

  Log Message:
  -----------
  Merge pull request #4846 from dlang/stable

merge gdc-dmd fix from stable


Compare: https://github.com/dlang/phobos/compare/86ef3a224ed0...6bbbc6b7a69e


More information about the phobos mailing list