1. 21 Nov, 2014 5 commits
  2. 20 Nov, 2014 10 commits
  3. 19 Nov, 2014 8 commits
    • carlostome's avatar
      compiler/main: fixes #9776 · 80f6fc17
      carlostome authored
      Test Plan: test T9776 under tests/driver
      Reviewers: jstolarek, austin
      Reviewed By: jstolarek, austin
      Subscribers: jstolarek, thomie, carter
      Differential Revision: https://phabricator.haskell.org/D503
      GHC Trac Issues: #9776
    • GregWeber's avatar
      make TcRnMonad.lhs respect -ddump-to-file · 33c029fa
      GregWeber authored
      Summary: allows things such as: -ddump-to-file -ddump-splices
      Test Plan:
      compile with flags -ddump-to-file -ddump-splices
      verify that it does output an extra file
      Try out other flags.
      I noticed that with -ddump-tc there is some output going to file and some to stdout.
      Reviewers: hvr, austin
      Reviewed By: austin
      Subscribers: simonpj, thomie, carter
      Differential Revision: https://phabricator.haskell.org/D460
      GHC Trac Issues: #9126
    • Moritz Angermann's avatar
      Allow -dead_strip linking on platforms with .subsections_via_symbols · 53a4742d
      Moritz Angermann authored
      This allows to link objects produced with the llvm code generator to be linked with -dead_strip. This applies to at least the iOS cross compiler and OS X compiler.
      Signed-off-by: Moritz Angermann's avatarMoritz Angermann <moritz@lichtzwerge.de>
      Test Plan: Create a ffi library and link it with -dead_strip. If the resulting binary does not crash, the patch works as advertised.
      Reviewers: rwbarton, simonmar, hvr, dterei, mzero, ezyang, austin
      Reviewed By: dterei, ezyang, austin
      Subscribers: thomie, mzero, simonmar, ezyang, carter
      Differential Revision: https://phabricator.haskell.org/D206
    • gintas's avatar
      The test runner now also works under the msys-native Python. · 101c62e2
      gintas authored
      Msys binaries apply heuristics to escape paths in arguments intended for
      non-msys binaries, which breaks timeout invocations, see #9626
      Signed-off-by: default avatarAustin Seipp <austin@well-typed.com>
    • Herbert Valerio Riedel's avatar
      Restore exact old semantics of `decodeFloat` · e2af452c
      Herbert Valerio Riedel authored
      `integer-gmp2` uses the new 64bit-based IEEE deconstructing primop
      introduced in b62bd5ec.
      However, the returned values differ for exceptional IEEE values:
      Previous (expected) semantics:
        > decodeFloat (-1/0)
        > decodeFloat (1/0)
        > decodeFloat (0/0)
      Currently (broken) semantics:
        > decodeFloat (-1/0 :: Double)
        > decodeFloat (1/0 :: Double)
        > decodeFloat (0/0 :: Double)
      This patch reverts to the old expected semantics.
      I plan to revisit the implementation during GHC 7.11 development.
      This should address #9810
      Reviewed By: austin, ekmett, luite
      Differential Revision: https://phabricator.haskell.org/D486
    • Herbert Valerio Riedel's avatar
      Reimplement im/export primitives for integer-gmp2 · 42244668
      Herbert Valerio Riedel authored
      The import/export operations were available in `integer-gmp-0.5.1`
      already, but need to be reimplemented from scratch for the
      `integer-gmp-1.0.0` rewrite.
      This also adds a few more operations than were previously available for
      use w/ the `BigNat` type (which will be useful for implementing
      serialisation for the upcoming `Natural` type)
      Specifically, the following operations are (re)added (albeit with
      slightly different type-signatures):
       - `sizeInBaseBigNat`
       - `sizeInBaseInteger`
       - `sizeInBaseWord#`
       - `exportBigNatToAddr`
       - `exportIntegerToAddr`
       - `exportWordToAddr`
       - `exportBigNatToMutableByteArray`
       - `exportIntegerToMutableByteArray`
       - `exportWordToMutableByteArray`
       - `importBigNatFromAddr`
       - `importIntegerFromAddr`
       - `importBigNatFromByteArray`
       - `importIntegerFromByteArray`
      NOTE: The `integerGmpInternals` test-case is updated but not yet
            re-enabled as it contains tests for other primitives which aren't
            yet reimplemented.
      This addresses #9281
      Reviewed By: austin, duncan
      Differential Revision: https://phabricator.haskell.org/D480
    • Edward Z. Yang's avatar
      Support for "with" renaming syntax, and output a feature flag. · 7c748d9f
      Edward Z. Yang authored
      - Feature flag indicates to Cabal that we support thinning and renaming as
        it needs.
      - Support -package "base with (Foo as Bar)" which brings the ordinary
        modules into scope, as well as adding the renamings to scope.
      Signed-off-by: default avatarEdward Z. Yang <ezyang@cs.stanford.edu>
      Test Plan: validate
      Reviewers: simonpj, austin
      Subscribers: thomie, carter
      Differential Revision: https://phabricator.haskell.org/D485
    • Edward Z. Yang's avatar
      When outputting list of available instances, sort it. · 1019e3c6
      Edward Z. Yang authored
      The intent of this commit is to make test suite cases more stable, so that
      it doesn't matter what order we load interface files in, the test output
      doesn't change.
      Signed-off-by: default avatarEdward Z. Yang <ezyang@cs.stanford.edu>
      Test Plan: validate
      Reviewers: simonpj, austin
      Subscribers: thomie, carter
      Differential Revision: https://phabricator.haskell.org/D484
  4. 18 Nov, 2014 2 commits
  5. 17 Nov, 2014 1 commit
  6. 15 Nov, 2014 3 commits
    • Herbert Valerio Riedel's avatar
      Update to (unreleased) `deepseq-` · 609cd28a
      Herbert Valerio Riedel authored
      This pulls in the new `Generic`-based `-XDefaultSignature`-based default
      implementation for `rnf`[1], and will be interesting to use in combination
      with the soon to be merged `-XDeriveAnyClass` extension.
      This requires updating several other submodules as well in order
      to relax the upper bound on `deepseq` and/or in a few cases to
      avoid relying on the default method implementation of `rnf`:
       - `Cabal`
       - `bytestring`
       - `containers`
       - `parallel`
       - `process`
       - `time`
       [1]: http://permalink.gmane.org/gmane.comp.lang.haskell.libraries/23031
    • Herbert Valerio Riedel's avatar
      Workaround 452d6aa9 breaking TrustworthySafe03 · 18548252
      Herbert Valerio Riedel authored
      This is only a temporary kludge until the issue workarounded by 452d6aa9
      gets properly fixed
    • Edward Z. Yang's avatar
      Generalize exposed-modules field in installed package database · e14a9732
      Edward Z. Yang authored
      Instead of recording exposed-modules and reexported-modules as seperate
      fields in the installed package database, this commit merges them into
      a single field (exposed-modules).  The motivation for this change is
      in preparation for the inclusion of *signatures* into the installed
      package database, which may also be reexported.  Merging the representation
      means that we can treat reexports uniformly, no matter if they're a normal
      module or a signature.
      This commit adds a stub for signatures, but that code isn't wired up to
      anything yet.
      Contains Cabal submodule update to accommodate these changes.
      Signed-off-by: default avatarEdward Z. Yang <ezyang@cs.stanford.edu>
      Test Plan: validate
      Reviewers: simonpj, duncan, austin
      Subscribers: thomie, carter, simonmar
      Differential Revision: https://phabricator.haskell.org/D421
  7. 13 Nov, 2014 5 commits
  8. 12 Nov, 2014 6 commits