summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Documentation, tests for hsc2hs's new #alignment macroRyanGlScott2015-12-1910-0/+81
| | | | | | | | | | | | | | Adds two tests (one for Trac #4340 and one for Trac #10272), as well as advice on how to fix your code if `hsc2hs` emits warnings with GHC 8.0 due to a redefinition of `#alignment`. (I also put the advice in the [GHC 8.0 Migration Guide](https://ghc.haskell.org/trac/ghc/wiki/Migration/8.0).) Reviewed By: thomie Differential Revision: https://phabricator.haskell.org/D1663 GHC Trac Issues: #4340, #10272
* fix typoHerbert Valerio Riedel2015-12-181-1/+1
| | | | [skip-ci]
* Bump hsc2hs submoduleBen Gamari2015-12-191-0/+0
| | | | Fixes #4340
* Update .mailmap [skip ci]Thomas Miedema2015-12-191-1/+10
|
* Build system: fix 'make sdist'Thomas Miedema2015-12-192-6/+1
| | | | | | This was broken in 4905b83a2d448c65ccced385343d4e8124548a3b. libraries/ghci/ghc.mk gets created by ./boot.
* Update terminfo submodule to v0.7.2.2 releaseHerbert Valerio Riedel2015-12-181-0/+0
| | | | | | This is the designated release to go with GHC 8.0.1 /cc @judah
* Update terminfo submodule to v0.4.0.2 releaseHerbert Valerio Riedel2015-12-181-0/+0
| | | | | | This is the designated release to go with GHC 8.0.1 /cc @judah
* Fix build for AArch64/Arm64Erik de Castro Lopo2015-12-191-0/+21
| | | | | | | | | | | | Test Plan: Build an AArch64 cross compiler. Reviewers: hvr, bgamari, austin Reviewed By: bgamari Subscribers: thomie Differential Revision: https://phabricator.haskell.org/D1654
* LLVM backend: Show expected LLVM version in warnings/errorsÖmer Sinan Ağacan2015-12-183-2/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Summary: Before: [1 of 1] Compiling Main ( Main.hs, Main.o ) You are using a new version of LLVM that hasn't been tested yet! We will try though... After: [1 of 1] Compiling Main ( Main.hs, Main.o ) You are using an unsupported version of LLVM! Currently only 3.7 is supported. We will try though... Before: [1 of 1] Compiling Main ( Main.hs, Main.o ) <no location info>: Warning: Couldn't figure out LLVM version! Make sure you have installed LLVM ghc: could not execute: opt After: [1 of 1] Compiling Main ( Main.hs, Main.o ) <no location info>: error: Warning: Couldn't figure out LLVM version! Make sure you have installed LLVM 3.7 ghc-stage1: could not execute: opt Reviewers: austin, rwbarton, bgamari Subscribers: thomie Differential Revision: https://phabricator.haskell.org/D1658
* ghc.cabal: Backpack directory no longer existsBen Gamari2015-12-181-1/+0
| | | | | | | | Reviewers: austin Subscribers: thomie, ezyang Differential Revision: https://phabricator.haskell.org/D1653
* Add test for T11122Ben Gamari2015-12-183-1/+36
| | | | | | | | | | | | Test Plan: validate Reviewers: austin Subscribers: thomie Differential Revision: https://phabricator.haskell.org/D1655 GHC Trac Issues: #11122
* SrcLoc: Eliminate constructors of RealSrcSpanBen Gamari2015-12-181-55/+40
| | | | | | | | | | | | | | This type is occurs very often but previously had multiple, meaning it could not be unboxed. Even worse, these constructors didn't offer any compelling safety benefits. Thankfully, the type is abstract, so changing the representation to be a single-constructor type was quite straightforward. Reviewers: austin Subscribers: alanz, thomie, hvr Differential Revision: https://phabricator.haskell.org/D1657
* tcCheckSatisfiability: less aggressive superclass expansionSimon Peyton Jones2015-12-184-16/+161
| | | | | | | | | | | | | | In the pattern-match check we are looking for a proof of *unsatisfiablity* among a bunch of givens. The unsat-ness might be hidden in the superclasses, so we must expand them. But in the common case where the constraints are satisfiable, we don't want to expand a recursive superclass forever. This is all a bit arbitrary, but then the whole question is undecidable anyway. The bug in Trac #10592 comment:12 was that I expanded superclasses forever. This patch fixes it.
* Test Trac #11248, #11249Simon Peyton Jones2015-12-183-0/+86
|
* configure.ac: Rename build/ to shake-build/Ben Gamari2015-12-181-2/+2
| | | | Last naming change... I promise.
* configure.ac: Rename shake/ to build/Ben Gamari2015-12-181-2/+4
| | | | See https://github.com/snowleopard/shaking-up-ghc/pull/2
* GHCi.Run: Remove redundant language pragmaBen Gamari2015-12-181-2/+1
|
* Update Win32 submodule to fix 77b7f24543f falloutHerbert Valerio Riedel2015-12-181-0/+0
| | | | | | Turns out Win32 wasn't de-tabbed yet... sigh... [skip ci]
* Comments onlySimon Peyton Jones2015-12-181-11/+27
|
* Update directory submodule to v1.2.5.0 releaseHerbert Valerio Riedel2015-12-181-0/+0
| | | | This is the designated release to go with GHC 8.0.1
* Fix PowerPC buildErik de Castro Lopo2015-12-181-1/+1
| | | | | | | | | | | | | Summary: Replace incorrect `ppc_HOST_ARCH` with `powerpc_HOST_ARCH`. Test Plan: Build on PowerPC Reviewers: hvr, austin, bgamari Subscribers: thomie Differential Revision: https://phabricator.haskell.org/D1651
* Use `-Wno-tabs` more targettedHerbert Valerio Riedel2015-12-182-10/+3
| | | | | | | So far only `time` (fixed upstream already though) and `xhtml` still require `-Wno-tabs`, so let's apply that warning suppression flag only there. This also updates the haskeline submodule to pull in a tab-fix
* Documentation for -fexternal-interpreterSimon Marlow2015-12-184-2/+77
|
* Testsuite Windows: fix ghcpkg03 and ghcpkg05Thomas Miedema2015-12-183-27/+4
|
* Testsuite Windows: fix sigof01m, sigof012m and sigof02dmThomas Miedema2015-12-185-32/+3
|
* Testsuite: widen lazy-bs-alloc 3->5%Thomas Miedema2015-12-181-1/+2
|
* ghci: fix UNREG build (missing fromJust import)Sergei Trofimovich2015-12-181-0/+3
| | | | | | | | | | | | | | | | | | libraries/ghci/GHCi/InfoTable.hsc:249:45: error: • Variable not in scope: fromJust :: Maybe EntryFunPtr -> a0 • Perhaps you meant ‘fromList’ (imported from GHC.Exts) Signed-off-by: Sergei Trofimovich <siarheit@google.com> Test Plan: build --enable-unregisterised ghc Reviewers: simonmar, bgamari, austin Reviewed By: austin Subscribers: thomie Differential Revision: https://phabricator.haskell.org/D1649
* Random typo fixesHerbert Valerio Riedel2015-12-179-9/+9
| | | | [skip ci]
* Update containers submodule to v0.5.7.0 releaseHerbert Valerio Riedel2015-12-185-11/+6
| | | | | | | | | This is the designated release to go with GHC 8.0.1 This release doesn't need any warning-suppression flags anymore, so remove those from mk/warnings.mk /cc @foxik
* Move Data.Functor.(Classes,Compose,Product,Sum) into baseRyanGlScott2015-12-178-1/+753
| | | | | | | | | | | | | | | These modules were previously provided by the `transformers` package. Hence the submodule update. This patch was originally contributed by M Farkas-Dyck and subsequently taken over and completed by Ryan. The original proposal discussion can be found at https://mail.haskell.org/pipermail/libraries/2015-July/026014.html This addresses #11135 Differential Revision: https://phabricator.haskell.org/D1543
* Testsuite: mark frontend01 conditionally expect_broken on #10301Thomas Miedema2015-12-171-1/+4
| | | | This should fix validate on Travis.
* Suppress warnings when compiling primitive and randomThomas Miedema2015-12-172-1/+6
| | | | | And fix a redundant constraint warning in a test that requires primitive.
* Build system: allow bindist without docsThomas Miedema2015-12-171-1/+1
| | | | | | | | Useful for testing 'make binary-dist-prep' when HADDOCK_DOCS=NO. Reviewed by: bgamari Differential Revision: https://phabricator.haskell.org/D1648
* Testsuite: allow spaces in TEST_HC passed in by the userThomas Miedema2015-12-171-17/+13
| | | | | | | | | | | | | | | | Don't use the GNU make function 'realpath' (reverting e66a81c6), because it doesn't handle spaces in paths. Instead, use 'cygpath' to convert Windows style paths (e.g. C:/foo/) to mingw style paths (e.g. c/foo/), and then call 'which'. Tests: * make TEST_HC=ghc * make TEST_HC=/d/home/thomie/ghc-validate/bindisttest/install\ \ \ dir/bin/ghc * make TEST_HC=D:/home/thomie/ghc-validate/bindisttest/install\ \ \ dir/bin/ghc Reviewed by: Phyx Differential Revision: https://phabricator.haskell.org/D1431
* Build system: also put scripts in libexecdir/binThomas Miedema2015-12-173-19/+9
| | | | | | | | | This follows a similar change in 4905b83a2d448c65ccced385343d4e8124548a3b, where binaries are installed in libexecdir/bin instead of libexecdir. This fixes a problem with ghc not able to find ghc-split, when SplitObjs=YES.
* Fix #11230.Richard Eisenberg2015-12-175-6/+42
| | | | | | | | Previously, we were optimizing away all case expressions over coercions with dead binders. But sometimes we want to force the coercion expression. Like when it contains an error. Test case: typecheck/should_run/T11230
* Fix tcTyClTyVars to handle SigTvsRichard Eisenberg2015-12-173-63/+130
| | | | | | | | | | | | | | Previously, tcTyClTyVars required that the names of the LHsQTyVars matched up exactly with the names of the kind of the given TyCon. It now does a bit of matching up when necessary to relax this restriction. This commit enables a few tests that had previously been disabled. The shortcoming this addresses is discussed in #11203, but that ticket is not directly addressed here. Test case: polykinds/SigTvKinds, perf/compiler/T9872d
* IO Handles: update comments [skip ci]Thomas Miedema2015-12-173-7/+11
| | | | | | | * hSetEcho, hGetEcho and hIsTerminalDevice are part of the Haskell2010 report (but not Haskell98) * there are great `Note`s in GHC.IO.Handle.Types. Link to them.
* Lexer: update outdated comments [skip ci]Thomas Miedema2015-12-171-4/+4
| | | | | The test for TemplateHaskell was removed in 09015be8d580bc33f5f1960c8e31d00ba7a459a1.
* Testsuite: #10712 is fixedThomas Miedema2015-12-172-4/+4
| | | | | | Verified by running: make TEST='exceptionsrun001 T3279 conc012 conc014' slowtest
* Remove warning-suppression flags for CabalHerbert Valerio Riedel2015-12-171-5/+0
| | | | | | Cabal is currently warning free. So let's drop the `-w`-flags. /cc @dcoutts
* Disable recomp015 on ARMBen Gamari2015-12-171-1/+3
| | | | Due to differences in assembly syntax. See #11022.
* T9961 allocations crept further upwardsBen Gamari2015-12-171-2/+3
| | | | Sad.
* Update Cabal submoduleBen Gamari2015-12-171-0/+0
| | | | Previously it didn't build on Windows.
* Remove unused T10524.stderrSimon Peyton Jones2015-12-171-10/+0
|
* Improve pretty-printing in pprIfaceIdBndrSimon Peyton Jones2015-12-171-1/+1
| | | | In particular, add parnes when we need an explicit type.
* users_guide: Remove extraneous vertical whitespaceBen Gamari2015-12-171-72/+24
|
* Add -fprint-typechecker-elaboration flag (fixes #10662)Eugene Akentyev2015-12-179-11/+80
| | | | | | | | | | | | Reviewers: thomie, austin, bgamari Reviewed By: thomie, bgamari Subscribers: thomie Differential Revision: https://phabricator.haskell.org/D1625 GHC Trac Issues: #10662
* Reify DuplicateRecordFields by label, rather than by selectorAdam Gundry2015-12-176-3/+95
| | | | | | | | | | | | | | | | | | | | | | | See `Note [Reifying field labels]` in `TcSplice`. This makes typical uses of TH work better with `DuplicateRecordFields`. If `reify` is called on the `Name` of a field label produced by the output of a previous `reify`, and there are multiple fields with that label defined in the same module, it may fail with an ambiguity error. Test Plan: Added tests, and manually tested that this makes Aeson's `deriveJSON` avoid the `$sel:` prefixes. Reviewers: simonpj, goldfire, austin, bgamari Reviewed By: bgamari Subscribers: thomie Differential Revision: https://phabricator.haskell.org/D1586 GHC Trac Issues: #11103
* Fix #11232.Richard Eisenberg2015-12-173-17/+36
| | | | | | | | | | | | | | | | | I somehow forgot to propagate roles into UnivCos. Very simple fix, happily. Test Plan: simplCore/should_compile/T11232 Reviewers: bgamari, austin, simonpj Reviewed By: simonpj Subscribers: simonpj, thomie Differential Revision: https://phabricator.haskell.org/D1645 GHC Trac Issues: #11232