1. 16 May, 2016 6 commits
    • niteria's avatar
      Kill varSetElems in tcInferPatSynDecl · 21fe4ffd
      niteria authored
      varSetElems introduces unnecessary non-determinism and while
      I didn't estabilish experimentally that this matters here
      I'm convinced that it will, because I expect pattern synonyms
      to end up in interface files.
      Test Plan: ./validate
      Reviewers: austin, simonmar, bgamari, mpickering, simonpj
      Reviewed By: simonpj
      Subscribers: thomie
      Differential Revision: https://phabricator.haskell.org/D2206
      GHC Trac Issues: #4012
    • Ben Gamari's avatar
      Move Extension type to ghc-boot-th · eed820b6
      Ben Gamari authored
      This creates a new package, `ghc-boot-th`, to contain the `Extension`
      type, which now lives in `GHC.LanguageExtension.Type`. This ensures that
      the transitive dependency set of the `template-haskell` package remains
      The `GHC.LanguageExtensions.Type` module is also re-exported by
      `ghc-boot`, which provides an orphan `binary` instance as well.
      Test Plan: Validate
      Reviewers: goldfire, thomie, hvr, austin
      Reviewed By: thomie
      Subscribers: RyanGlScott, thomie, erikd, ezyang
      Differential Revision: https://phabricator.haskell.org/D2224
    • Ben Gamari's avatar
    • Peter Trommler's avatar
      PPC: Implement SMP primitives using gcc built-ins · 563a4857
      Peter Trommler authored
      The SMP primitives were missing appropriate memory barriers
      (sync, isync instructions) on all PowerPCs.
      Use the built-ins _sync_* provided by gcc and clang. This
      reduces code size significantly.
      Remove broken mark for concprog001 on powerpc64. The referenced
      ticket number (11259) was wrong.
      Test Plan: validate on powerpc and ARM
      Reviewers: erikd, austin, simonmar, bgamari, hvr
      Reviewed By: bgamari, hvr
      Subscribers: thomie
      Differential Revision: https://phabricator.haskell.org/D2225
      GHC Trac Issues: #12070
    • Peter Trommler's avatar
      PPC NCG: Fix pretty printing of st[wd]ux instr. · 2dbdc79b
      Peter Trommler authored
      Printing STU was mixed up. The tab character must appear
      after the 'x'.
      Test Plan: validate on powerpc
      Reviewers: bgamari, austin, erikd
      Reviewed By: austin, erikd
      Subscribers: thomie
      Differential Revision: https://phabricator.haskell.org/D2214
      GHC Trac Issues: #12054
    • Ben Gamari's avatar
      Bump haddock submodule · bf669a05
      Ben Gamari authored
      Vendorise alabaster theme for older sphinx releases.
  2. 15 May, 2016 2 commits
  3. 14 May, 2016 1 commit
  4. 13 May, 2016 1 commit
  5. 12 May, 2016 16 commits
  6. 11 May, 2016 9 commits
    • Simon Marlow's avatar
    • Simon Marlow's avatar
      Make random an "extra" package · 2a0d00d2
      Simon Marlow authored
      It will get built as part of "validate --slow".  We have 11 tests that
      depend on random, so this enables more tests to work.
    • Simon Marlow's avatar
      Fix ASSERT failure and re-enable setnumcapabilities001 · cfc5df43
      Simon Marlow authored
      The assertion failure was fairly benign, I think, but this fixes it.
      I've been running the test repeatedly for the last 30 mins and it hasn't
      There are other problems exposed by this test (see #12038), but I've
      worked around those in the test itself for now.
      I also copied the relevant bits of the parallel library here so that we
      don't need parallel for the test to run.
    • niteria's avatar
      Document SCC determinism · 3edbd091
      niteria authored
      I've documented the guarantees that stronglyConnCompFromEdgedVertices
      provides and commented on the call sites to explain why they are
      OK from determinism standpoint. I've changed the functions to
      nonDetUFM versions, so that it's explicit they could introduce
      nondeterminism.  I haven't defined container (VarSet, NameSet)
      specific versions, so that we have less functions to worry about.
      Test Plan: this is mostly just documentation,
      it should have no runtime effect
      Reviewers: bgamari, simonmar, austin, simonpj
      Reviewed By: simonpj
      Subscribers: thomie
      Differential Revision: https://phabricator.haskell.org/D2194
      GHC Trac Issues: #4012
    • niteria's avatar
      Remove some varSetElems in dsCmdStmt · 0e719885
      niteria authored
      varSetElems introduces unnecessary determinism and it's easy to
      preserve determinism here.
      Test Plan: ./validate
      Reviewers: goldfire, simonmar, austin, bgamari, simonpj
      Reviewed By: simonpj
      Subscribers: thomie
      Differential Revision: https://phabricator.haskell.org/D2195
      GHC Trac Issues: #4012
    • takano-akio's avatar
      Handle promotion failures when scavenging a WEAK (#11108) · 9363f04d
      takano-akio authored
      Previously, we ignored promotion failures when evacuating fields of
      a WEAK object. When a failure happens, this resulted in an WEAK object
      pointing to another object in a younger generation, causing crashes.
      I used the test case from #11746 to check that the fix is working.
      However I haven't managed to produce a test case that quickly reproduces
      the issue.
      Test Plan: ./validate
      Reviewers: austin, bgamari, simonmar
      Reviewed By: simonmar
      Subscribers: thomie
      Differential Revision: https://phabricator.haskell.org/D2189
      GHC Trac Issues: #11108
    • Erik de Castro Lopo's avatar
      rts: Fix C compiler warnings on Windows · 0efbf18b
      Erik de Castro Lopo authored
      Specifcally we want the MinGW compiler to use ISO print format
      Test Plan: Validate on Linux, OS X and Windows
      Reviewers: Phyx, austin, bgamari, simonmar
      Reviewed By: bgamari, simonmar
      Subscribers: thomie
      Differential Revision: https://phabricator.haskell.org/D2192
    • Erik de Castro Lopo's avatar
      RtsFlags: Make `mallocFailHook` const correct · 584ade67
      Erik de Castro Lopo authored
      Test Plan: Validate
      Reviewers: hvr, austin, bgamari, simonmar
      Reviewed By: bgamari, simonmar
      Subscribers: thomie
      Differential Revision: https://phabricator.haskell.org/D2193
    • niteria's avatar
      Document why closeOverKind is OK for determinism · 8669c48d
      niteria authored
      There's no point in converting the existing call sites to use
      deterministic closeOverKinds if they never linearize the set.
      Test Plan: it compiles, this is basically just documentation
      Reviewers: simonpj, goldfire, simonmar, austin, bgamari
      Reviewed By: bgamari
      Subscribers: thomie
      Differential Revision: https://phabricator.haskell.org/D2191
      GHC Trac Issues: #4012
  7. 10 May, 2016 5 commits