- 06 Feb, 2015 5 commits
-
-
Simon Peyton Jones authored
-
Simon Peyton Jones authored
It was already ok for methods. Fixes Trac #10020
-
Simon Peyton Jones authored
See Note [Pretty-printing kind signatures] in Language.Haskell.TH.Ppr.hs, and Trac #10050.
-
Simon Peyton Jones authored
-
Simon Peyton Jones authored
-
- 05 Feb, 2015 6 commits
-
-
Alexander Vershilov authored
Summary: Fixes debug output so all info messages will use stdout. Fixes #8796. Make -ddump-splices output to stdout (fixes #8796) Make -dverbose-core2core use stdout (fixes #8796) Reviewers: simonpj, austin Reviewed By: austin Subscribers: thomie Differential Revision: https://phabricator.haskell.org/D627 GHC Trac Issues: #8796
-
David Feuer authored
Summary: This improves performance, at least sometimes--the previous implementation can be worse than the version in base 4.7. I have not had the time to run benchmarks and such, but `mapM` already does this. Also, inline `mapM_`, like `mapM`. Reviewers: hvr, nomeata, ekmett, austin Reviewed By: ekmett, austin Subscribers: thomie Projects: #ghc Differential Revision: https://phabricator.haskell.org/D632 GHC Trac Issues: #10034
-
Oleg Grenrus authored
Summary: Added packageName to GHC.Generics.Datatype class definition Reviewers: hvr, dreixel, austin Reviewed By: dreixel, austin Subscribers: thomie Differential Revision: https://phabricator.haskell.org/D631 GHC Trac Issues: #10030
-
Alan Zimmerman authored
Summary: When parsing a rhs, the GRHS is constructed via unguardedRHS which is given a SrcSpan which only takes account of the '=' and wherebinds, so does not include the exp when wherebinds are empty. Test Plan: ./validate Reviewers: hvr, austin Reviewed By: austin Subscribers: thomie Differential Revision: https://phabricator.haskell.org/D643
-
Alan Zimmerman authored
Summary: This is a first step for #9988 It turns out that bringing m_fun_id_infix through the renamer is actually very simple, affecting the internals of rnMatch' only. Is this simple enough to hit 7.10.1? Test Plan: ./validate Reviewers: hvr, simonpj, austin Reviewed By: simonpj, austin Subscribers: thomie Differential Revision: https://phabricator.haskell.org/D639 GHC Trac Issues: #9988
-
kgardas authored
Summary: The problem with Solaris is that system header files include /usr/include/sys/feature_tests.h header file and it tests if _FILE_OFFSET_BITS define is defined. If not, it defines it to 32 which is in conflict with 64 which we need for large file support. The solution is easy, always include own header files before system header files. Reviewers: hvr, austin Reviewed By: austin Subscribers: thomie Differential Revision: https://phabricator.haskell.org/D644
-
- 04 Feb, 2015 1 commit
-
-
Simon Marlow authored
Summary: We were erroneously discarding SCCs on function-typed variables. These can affect the call stack, so we have to retain them. The bug was introduced during the recent SourceNote refactoring. This is an alternative to the fix proposed in D616. I also added the scc005 test from that diff, which works with this change. While I was here, I also fixed up the other profiling tests, marking a few as expect_broken_for(10037) where the opt/unopt output differs in non-fatal ways. Test Plan: profiling tests Reviewers: scpmw, ezyang, austin Subscribers: thomie Differential Revision: https://phabricator.haskell.org/D636 GHC Trac Issues: #10007
-
- 02 Feb, 2015 1 commit
-
-
AndreasVoellmy authored
Summary: In the threaded RTS, a signal is delivered from the RTS to Haskell user code by writing to file that one of the IO managers watches (via an instance of GHC.Event.Control.Control). When the IO manager receives the signal, it calls GHC.Conc.Signal.runHandlers to invoke Haskell signal handler. In the move from a single IO manager to one IO manager per capability, the behavior was (wrongly) extended so that a signal is delivered to every event manager (see #9423), each of which invoke Haskell signal handlers, leading to multiple invocations of Haskell signal handlers for a single signal. This change fixes this problem by having the RTS (in generic_handler()) notify only the Control instance used by the TimerManager, rather than all the per-capability IO managers. Reviewers: austin, hvr, simonmar, Mikolaj Reviewed By: simonmar, Mikolaj Subscribers: thomie Differential Revision: https://phabricator.haskell.org/D641
-
- 28 Jan, 2015 3 commits
-
-
Edward Z. Yang authored
Summary: Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu> Test Plan: validate Reviewers: austin, hvr Subscribers: thomie Differential Revision: https://phabricator.haskell.org/D635
-
Simon Peyton Jones authored
-
Simon Marlow authored
-
- 27 Jan, 2015 2 commits
-
-
eir@cis.upenn.edu authored
Summary: The documentation (Note [The flattening story] in TcFlatten) was correct; it's just the implementation that was not. Test in typecheck/should_compile/T10031 Test Plan: validate Reviewers: austin Subscribers: thomie Differential Revision: https://phabricator.haskell.org/D630 GHC Trac Issues: #10031
-
Edward Z. Yang authored
Signed-off-by:
Edward Z. Yang <ezyang@cs.stanford.edu>
-
- 26 Jan, 2015 1 commit
-
-
Erik de Castro Lopo authored
Summary: The GCC assembler doesn't seem to recognise the 'fp' and 'lr' register names which are aliases for 'x29' and 'x30' respectively. Depends on D598. Test Plan: validate Reviewers: lukexi, bgamari, austin Reviewed By: austin Subscribers: carter, thomie Differential Revision: https://phabricator.haskell.org/D599 GHC Trac Issues: #9935
-
- 23 Jan, 2015 3 commits
-
-
Also remove foldr2/right rule to avoid possibly introducing bottoms with rules. This effectively reverts most of 488e95b4 Reviewed By: nomeata Differential Revision: https://phabricator.haskell.org/D602
-
Herbert Valerio Riedel authored
This reverts commit 34d68d8e as it breaks the build: Configuring hsc2hs-0.67... Configuring ghc-cabal-0.1... Configuring parallel-3.2.0.6... Configuring hpc-bin-0.67... Configuring haddock-2.16.0... ghc-cabal: At least the following dependencies are missing: ghc >=7.9 && <7.11 make[1]: *** [utils/haddock/dist/package-data.mk] Error 1 make[1]: *** Waiting for unfinished jobs.... GHC PKG libraries/parallel/dist-install/package-data.mk Reading package info from "libraries/parallel/dist-install/inplace-pkg-config" ... done. parallel-3.2.0.6: Warning: haddock-interfaces: /srv/builds/commits/rGHC/B3035-34d68d8e/libraries/parallel/dist-install/doc/html/parallel/parallel.haddock doesn't exist or isn't a file parallel-3.2.0.6: cannot find any of ["Control/Seq.hi","Control/Seq.p_hi","Control/Seq.dyn_hi"] (ignoring) parallel-3.2.0.6: cannot find any of ["Control/Parallel.hi","Control/Parallel.p_hi","Control/Parallel.dyn_hi"] (ignoring) parallel-3.2.0.6: cannot find any of ["Control/Parallel/Strategies.hi","Control/Parallel/Strategies.p_hi","Control/Parallel/Strategies.dyn_hi"] (ignoring) parallel-3.2.0.6: cannot find any of ["libHSparal_791B1zx5CJ25cUOFECtmw0.a","libHSparal_791B1zx5CJ25cUOFECtmw0.p_a","libHSparal_791B1zx5CJ25cUOFECtmw0-ghc7.11.20150123.so","libHSparal_791B1zx5CJ25cUOFECtmw0-ghc7.11.20150123.dylib","HSparal_791B1zx5CJ25cUOFECtmw0-ghc7.11.20150123.dll"] on library path (ignoring) make: *** [all] Error 2 Moreover, utils/haddock is supposed to track the `ghc-head` branch (which is what `git submodule update --remote utils/haddock` helps with)
-
Mateusz Kowalczyk authored
-
- 22 Jan, 2015 6 commits
-
-
Herbert Valerio Riedel authored
One highlight of 0.7.3.0 is the new instance for `Natural`
-
Herbert Valerio Riedel authored
(2nd attempt, this time leaving the `Constr` using `":%"`) The Data instance for `Ratio` just uses the raw `:%` constructor and doesn't check that the result is reduced to normal form. The fix is to add back the `Integral` constraint on the Data instance (which was dropped in c409b6f3) and to use `%` rather than `:%` in the `gfoldl` and `gunfold` implementation. This restores the invariant and matches the behavior of "virtual constructors" we've used to patch up such problems elsewhere. This addresses #10011 Reviewed By: ekmett, austin Differential Revision: https://phabricator.haskell.org/D625
-
Simon Peyton Jones authored
Updates the performance numbers for 32-bit windows. I tried to do this before with 387f1d1e, but accidentally included some unrelated changes.
-
Simon Peyton Jones authored
This reverts commit 387f1d1e. Bizarrely, this commit accidentally added libraries/haskell98. So I'll revert it entirely and start again.
-
Joachim Breitner authored
to have less annoying false negatives on http://perf.ghc.haskell.org/#graph/testsuite/unexpected%20stats
-
-
- 21 Jan, 2015 3 commits
-
-
Herbert Valerio Riedel authored
This reverts commit 79b0d0e6 due to Compile failed (status 256) errors were: [1 of 2] Compiling A ( A.hs, A.o ) [2 of 2] Compiling Main ( T4491.hs, T4491.o ) T4491.hs:19:11: Illegal data constructor name: ‘%’ When splicing a TH expression: (GHC.Real.%) 11 2 In the splice: $(dataToExpQ (const Nothing) (5.5 :: Rational)) *** unexpected failure for T4491(normal) Therefore re-opening #10011
-
Herbert Valerio Riedel authored
The Data instance for `Ratio` just uses the raw `:%` constructor and doesn't check that the result is reduced to normal form. The fix is to add back the `Integral` constraint on the Data instance (which was dropped in c409b6f3) and to use `%` rather than `:%` in the `gfoldl` and `gunfold` implementation. This restores the invariant and matches the behavior of "virtual constructors" we've used to patch up such problems elsewhere. This addresses #10011 Reviewed By: ekmett, austin Differential Revision: https://phabricator.haskell.org/D625
-
Edward Z. Yang authored
Signed-off-by:
Edward Z. Yang <ezyang@cs.stanford.edu>
-
- 20 Jan, 2015 8 commits
-
-
Sergei Trofimovich authored
Function came out of use in 2006: > commit 9d7da331 > Author: simonmar <unknown> > Date: Fri Jan 6 16:30:19 2006 +0000 > > [project @ 2006-01-06 16:30:17 by simonmar] > Add support for UTF-8 source files Found by uselex.rb: ghc_memcmp_off: [R]: exported from: ./compiler/stage1/build/parser/cutils.o ./compiler/stage2/build/parser/cutils.o Signed-off-by:
Sergei Trofimovich <siarheit@google.com>
-
Sergei Trofimovich authored
Max removed 'align' token from parser productions long ago: > commit ec397502 > Author: Max Bolingbroke <batterseapower@hotmail.com> > Date: Tue Jul 5 09:31:08 2011 +0100 > > Remove the unused CmmAlign and CmmDataLabel from CmmStatic This patch drops 'align' from lexer as well. Signed-off-by:
Sergei Trofimovich <siarheit@google.com>
-
Simon Peyton Jones authored
Nothing magical here, but the data types had grown more complicated than we really needed, so there were some worthwhile simplifications to be had. No change in functionality.
-
Simon Peyton Jones authored
-
Simon Peyton Jones authored
Less for GHC, more for Haddock
-
Gergő Érdi authored
-
Summary: Now it invokes the GHC API to load packages, rather than trying to do it manually. This should fix most of the issues we've had with this test, and might make it work on Windows too.
-
Simon Marlow authored
-
- 19 Jan, 2015 1 commit
-
-
Sergei Trofimovich authored
Summary: This introduces new .cmm syntax for import: 'import' 'CLOSURE' <identifier>; Currently cmm syntax allows importing only function labels: import pthread_mutex_lock; but sometimes ghc needs to import global gariables or haskell closures: import ghczmprim_GHCziTypes_True_closure; import base_ControlziExceptionziBase_nestedAtomically_closure; import ghczmprim_GHCziTypes_False_closure; import sm_mutex; It breaks on ia64 where there is a difference in pointers to data and pointer to functions. Patch fixes threaded runtime on ia64 where dereference of 'sm_mutex' from CMM led to incurrect location. Exact breakage machanics are the same as in e18525fa Merge into the 7.10 branch Signed-off-by:
Sergei Trofimovich <siarheit@google.com> Test Plan: passes ./validate, makes ghci work on ghc-7.8.4 Reviewers: simonmar, simonpj, austin Reviewed By: austin Subscribers: thomie Differential Revision: https://phabricator.haskell.org/D622
-