summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* Follow-up to 72d6d0c2704ee6d9 updating submodules for realHerbert Valerio Riedel2014-09-163-0/+0
|
* Update config.{guess,sub} to GNU automake 1.14.1Herbert Valerio Riedel2014-09-166-525/+120
| | | | | | | | | | | | | The new versions should work better under MSYS2 A few submodules' `config.{guess,sub}` files were updated as well With this commit, all config.{guess,sub} files in the GHC tree have the md5sums 0fb81517303511f05a01b14f41cec2cf config.guess d2a165dceaa5ac1edba3c512f6ca7bd1 config.sub This addresses #9597
* Mark T8639_api/T8628 as PHONYEdward Z. Yang2014-09-151-1/+1
| | | | Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu>
* Declare official GitHub home of libraries/filepathHerbert Valerio Riedel2014-09-151-1/+1
| | | | | Effective immediately, pushing to libraries/filepath requires pushing to ssh://git@github.com/haskell/filepath.git.
* Don't offer hidden modules for autocomplete.Edward Z. Yang2014-09-155-1/+29
| | | | | | | It was annoying to test GHCi directly, so I added a ghc-api unit test of the function instead. Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu>
* base: Add some notes about the default impl of '(>>)'Austin Seipp2014-09-151-1/+23
| | | | | | | | See Note [Recursive bindings for Applicative/Monad]. This documents the tricky little details that kept me occupied for so long with this patch, and why exactly we deviate from the original proposal. Signed-off-by: Austin Seipp <austin@well-typed.com>
* base: Remove bunk default impl of (>>=)Austin Seipp2014-09-151-1/+0
| | | | | | | Without 'join' as a part of Monad, this default implementation is bogus, and is a leftover from d94de87252d0fe2ae9. Signed-off-by: Austin Seipp <austin@well-typed.com>
* Export `Traversable()` and `Foldable()` from PreludeHerbert Valerio Riedel2014-09-1521-66/+131
| | | | | | | | | | | | | | | | | | | | | | This exposes *only* the type-classes w/o any of their methods. This is the very first step for implementing BPP (see #9586), which already requires breaking up several import-cycles leading back to `Prelude`. Ideally, importing `Prelude` should be avoided in most `base` modules, as `Prelude` does not define any entities, but rather re-exports existing ones. Test Plan: validate passes Reviewers: ekmett, austin Reviewed By: ekmett, austin Subscribers: simonmar, ezyang, carter Differential Revision: https://phabricator.haskell.org/D209 GHC Trac Issues: #9586
* Tweak perf-numbers for T1969 and T4801Herbert Valerio Riedel2014-09-141-5/+8
| | | | | | | | | | | | | | | | | | | | Right now, Phab's buildbot complains about Unexpected failures: perf/compiler T1969 [stat too good] (normal) perf/compiler T4801 [stat not good enough] (normal) However, on my workstation, those tests don't fail (c.f. P14). So this commit tries to blindly tweak those numbers and see if if Phabricator succeeds to build this code-revision... Test Plan: Let Harbormaster build it Reviewers: austin Subscribers: simonmar, ezyang, carter Differential Revision: https://phabricator.haskell.org/D210
* Update libffi-tarballs submodule to libffi 3.1 (re #8701)Herbert Valerio Riedel2014-09-131-0/+0
|
* Update haskell2010 submoduleHerbert Valerio Riedel2014-09-131-0/+0
| | | | ...to kill "Kill CPP conditionals for HUGS and old GHCs"
* Detabify primops.txt.ppHerbert Valerio Riedel2014-09-131-178/+178
|
* Move docstring of `seq` to primops.txt.ppHerbert Valerio Riedel2014-09-132-18/+11
| | | | | | | | | | | The documentation for `seq` was recently augmented via #9390 & cbfa107604f4cbfaf02bd633c1faa6ecb90c6dd7. However, it doesn't show up in the Haddock generated docs because `#ifdef __HADDOCK__` doesn't work as expected. Also, it's easier to just fix the problem at the origin (which in this is case is the primops.txt.pp file). The benefit/downside of this is that now the extended documentation shows up everywhere `seq` is re-exported directly.
* Fixup test-case broken by Follow-up to b53c95fe621Herbert Valerio Riedel2014-09-131-1/+1
|
* Follow-up to b53c95fe621d3a66a82e6dad383e1c0c08f3871eHerbert Valerio Riedel2014-09-132-0/+0
| | | | | Forgot to fix-up the `haskell2010` and `haskell98` submodules in the previous commit
* Move ($!) from Prelude into GHC.BaseHerbert Valerio Riedel2014-09-132-9/+5
| | | | | | | | | I don't see any reason why this needs to be in Prelude, where it makes life harder to avoid import cycles involving Prelude. Ideally, the `Prelude` module should only re-export entities from other modules, and not define anything on its own. So this moves `($!)` close to the definition of its `($)` cousin.
* base: Drop obsolete/redundant `__GLASGOW_HASKELL__` checksHerbert Valerio Riedel2014-09-132-26/+3
| | | | | Since 527bcc41630918977c7 we require GHC >=7.6 for bootstrapping anyway. This also allows to avoid the CPP-processing overhead for these two modules.
* Remove obsolete comment about (!!)Joachim Breitner2014-09-121-3/+0
| | | | | | as spotted by David Feuer and reported as #9585. The comment was right until ceb68b9118fa883e88abfaa532fc78f6640cf17f, which is only 13 years ago :-).
* Fix support for deriving Generic1 for data families (FIX #9563)Jose Pedro Magalhaes2014-09-123-4/+24
|
* Update nofib submodule: Update gitignore with more generated filesEdward Z. Yang2014-09-111-0/+0
| | | | Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu>
* Make GHC `time-1.5`-readyHerbert Valerio Riedel2014-09-105-1/+1
| | | | | | | This also updates a few submodules to have their upper-bounds on `time` relaxed to allow `time-1.5`. The only package that can't be upgraded yet is `Cabal` due to API changes breaking `ghc-cabal`. This needs to be addressed in a future commit.
* Kill obsolete pre GHC 7.6 bootstrapping supportHerbert Valerio Riedel2014-09-101-3/+0
| | | | | This left-over is definitely not needed anymore and was probably missed in 527bcc41630918977c7
* T4801 perf numbers: Another typoJoachim Breitner2014-09-101-2/+2
|
* Fix T5321Fun perf numberJoachim Breitner2014-09-101-2/+2
| | | | (I obviously copy’n’pasted the wrong number.)
* Update performance numbersJoachim Breitner2014-09-103-21/+37
| | | | | | | including some that are not failing yet, but did show a significant change, and some that Austing changed post-AMP, but where both harbormaster and ghcspeed reported something else. Numbers taken from the ghcspeed machine.
* testsuite: AMPify T3001-2Joachim Breitner2014-09-101-4/+14
|
* testsuite: AMPify ioprof.hsJoachim Breitner2014-09-101-0/+9
|
* Update nofib submodule to track gc bitrot updates.Edward Z. Yang2014-09-091-0/+0
| | | | Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu>
* Update nofib submodule to fix errors in main suite.Edward Z. Yang2014-09-091-0/+0
| | | | Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu>
* build.mk.sample: Stage1 needn't be built with -fllvmBen Gamari2014-09-091-2/+2
| | | | | | | | | | | | | | Summary: We can use the native codegen for stage 1 as it is to run on the host platform. Test Plan: Reviewers: Subscribers: GHC Trac Issues:
* base: replace ver 4.7.1.0 references by 4.8.0.0Herbert Valerio Riedel2014-09-096-7/+9
| | | | | | | Since we now had to major bump due to AMP being landed, `base-4.7.1.0` is not gonna happen, as we're going straight for a `base-4.8.0.0` release. [skip ci] since this is a doc-only change
* Bump `base` version to 4.8.0.0 for realHerbert Valerio Riedel2014-09-0943-36/+43
| | | | | | | | | | | | | | | | This commit updates several submodules in order to bump the upper bounds on `base` of most boot packages Moreover, this updates some of the test-suite cases which have version numbers hardcoded within. However, I'm not sure if this commit didn't introduce the following two test-failures ghc-api T8628 [bad stdout] (normal) ghc-api T8639_api [bad stdout] (normal) This needs investigation
* Revert "base: Bump version to 4.8.0.0"Austin Seipp2014-09-091-1/+1
| | | | | | | | This reverts commit 0829f4c829a92d1287b820b12102a64dac91d35a. This fails to build, because I'm dumb and hasty, obviously. Signed-off-by: Austin Seipp <austin@well-typed.com>
* base: Bump version to 4.8.0.0Austin Seipp2014-09-091-1/+1
| | | | Signed-off-by: Austin Seipp <austin@well-typed.com>
* Make Applicative a superclass of MonadAustin Seipp2014-09-09128-633/+860
| | | | | | | | | | | | | | | | | | | | | Summary: This includes pretty much all the changes needed to make `Applicative` a superclass of `Monad` finally. There's mostly reshuffling in the interests of avoid orphans and boot files, but luckily we can resolve all of them, pretty much. The only catch was that Alternative/MonadPlus also had to go into Prelude to avoid this. As a result, we must update the hsc2hs and haddock submodules. Signed-off-by: Austin Seipp <austin@well-typed.com> Test Plan: Build things, they might not explode horribly. Reviewers: hvr, simonmar Subscribers: simonmar Differential Revision: https://phabricator.haskell.org/D13
* rules: fix buld failure due to o-boot suffix typoSergei Trofimovich2014-09-081-2/+2
| | | | | | | Last-time tweak in commit 049bef7dc8858cff1b69002cde91b9d1cdef8e70 broke build. Update '_o-boot' to '_o-bootsuf' variable name. Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* rules: cleanup: use '$way_*suf' var instead of open-coded '($3_way_)s'Sergei Trofimovich2014-09-084-18/+20
| | | | | | | | | | | The changes look like: -$1/$2/build/%.$$($3_way_)s : $1/%.c $$(LAX_DEPS_FOLLOW) $$$$($1_$2_HC_DEP) +$1/$2/build/%.$$($3_ssuf) : $1/%.c $$(LAX_DEPS_FOLLOW) $$$$($1_$2_HC_DEP) This way typos will manifest themselves in all ways, not only non-vanilla. Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* TyposGabor Greif2014-09-072-2/+2
|
* INLINE unfoldrJoachim Breitner2014-09-061-5/+32
| | | | | | | | | | | | | | | | | | Summary: to allow GHC to maybe remove the Maybe. See the code comment for more commentary. This fixes #9369. Test Plan: see what happens on ghcspeed (once it is merged) Reviewers: austin Reviewed By: austin Subscribers: simonmar, ezyang, carter Differential Revision: https://phabricator.haskell.org/D198 GHC Trac Issues: #9369
* Update T4801 perf numbersJoachim Breitner2014-09-061-1/+2
| | | | | no individual cause indentified, but small improvements happened in 1719c42, 9d6fbcc, 949ad67 (or it is noise...)
* PostTcType replaced with TypeAnnotAlan Zimmerman2014-09-0644-689/+1227
| | | | | | | | | | | | | | | | | | | | | Summary: This is a first step toward allowing generic traversals of the AST without 'landmines', by removing the `panic`s located throughout `placeHolderType`, `placeHolderKind` & co. See more on the discussion at https://www.mail-archive.com/ghc-devs@haskell.org/msg05564.html (This also makes a corresponding update to the `haddock` submodule.) Test Plan: `sh validate` and new tests pass. Reviewers: austin, simonpj, goldfire Reviewed By: austin, simonpj, goldfire Subscribers: edsko, Fuuzetsu, thomasw, holzensp, goldfire, simonmar, relrod, ezyang, carter Projects: #ghc Differential Revision: https://phabricator.haskell.org/D157
* Do not use max_bytes_used for haddock testJoachim Breitner2014-09-061-109/+4
| | | | | | | | | | | | | | Summary: as they are unreliable and hard to re-run. Test Plan: Run the testsuite Reviewers: austin Subscribers: simonmar, ezyang, carter Differential Revision: https://phabricator.haskell.org/D200 GHC Trac Issues: #9556
* Revert "Do not test max_bytes_used et. al for haddock tests"Joachim Breitner2014-09-051-4/+109
| | | | | | This reverts commit 498d7dd2dc731a92eda2210e4ab0a04366511627. Again sorry for the noise. This is the last reverstion. I will fix this for good at around 12:13 CEST tomorrow :-)
* pprC: declare extern cmm primitives as functions, not dataSergei Trofimovich2014-09-051-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Summary: The commit fixes incorrect code generation of integer-gmp package on ia64 due to C prototypes mismatch. Before the patch prototypes for "foreign import prim" were: StgWord poizh[]; After the patch they became: StgFunPtr poizh(); Long story: Consider the following simple example: {-# LANGUAGE MagicHash, GHCForeignImportPrim, UnliftedFFITypes #-} module M where import GHC.Prim -- Int# foreign import prim "poizh" poi# :: Int# -> Int# Before the patch unregisterised build generated the following 'poizh' reference: EI_(poizh); /* StgWord poizh[]; */ FN_(M_poizh_entry) { // ... JMP_((W_)&poizh); } After the patch it looks this way: EF_(poizh); /* StgFunPtr poizh(); */ FN_(M_poizh_entry) { // ... JMP_((W_)&poizh); } On ia64 it leads to different relocation types being generated: incorrect one: addl r14 = @ltoffx(poizh#) ld8.mov r14 = [r14], poizh# ; r14 = address-of 'poizh#' correct one: addl r14 = @ltoff(@fptr(poizh#)), gp ; r14 = address-of-thunk 'poizh#' ld8 r14 = [r14] '@fptr(poizh#)' basically instructs assembler to creates another obect consisting of real address to 'poizh' instructions and module address. That '@fptr' object is used as a function "address" This object is different for every module referencing 'poizh' symbol. All indirect function calls expect '@fptr' object. That way call site reads real destination address and set destination module address in 'gp' register from '@fptr'. Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* Add missing changelog/since entry for `uncons`Herbert Valerio Riedel2014-09-042-0/+4
| | | | | This is a follow-up commit to e428b5b8cc1448dcff7d7cdcbeb738eb0bea102f (refs D195 & #9550)
* Small improvement to unsaturated-type-function error messageSimon Peyton Jones2014-09-042-2/+4
|
* Another test for type function saturationSimon Peyton Jones2014-09-045-0/+119
| | | | Came up on GHC users list
* Update performance numbers (mostly improved)Simon Peyton Jones2014-09-042-7/+16
|
* Do not test max_bytes_used et. al for haddock testsJoachim Breitner2014-09-041-109/+4
| | | | | | | | | | | | | | Summary: as these are unreliable, and it is hard to re-run haddock with other RTS flags. Test Plan: run validate Reviewers: austin Subscribers: simonmar, ezyang, carter Differential Revision: https://phabricator.haskell.org/D196 GHC Trac Issues: #9551
* Revert "Remove max_bytes_used test from haddock test cases"Joachim Breitner2014-09-041-4/+109
| | | | | | | This reverts commit 8c427ebe9c34b9bcecd41fb0584d24989c00ffe6. Sorry for the noise, but I need to practice my HIW talk, which will involve some live development...