- Dec 23, 2014
-
-
Austin Seipp authored
Signed-off-by:
Austin Seipp <austin@well-typed.com>
-
- Dec 19, 2014
-
-
Austin Seipp authored
Signed-off-by:
Austin Seipp <austin@well-typed.com>
-
Austin Seipp authored
Signed-off-by:
Austin Seipp <austin@well-typed.com>
-
Simon Peyton Jones authored
This equality-floating stuff is horribly delicate! Trac #9316 showed up yet another corner case. The main changes are * include CTyVarEqs when "growing" the skolem set * do not include the kind argument to (~) when growing the skolem set I added a lot more comments as well (cherry picked from commit 4b3df0bb)
-
Lennart Kolmodin authored
Summary: --show-options will now include the package flags. Test Plan: Pass --show-options to ghc, it should include -package-id. Reviewers: austin, jstolarek Subscribers: carter, thomie Differential Revision: https://phabricator.haskell.org/D554 GHC Trac Issues: #9860
-
Austin Seipp authored
Signed-off-by:
Austin Seipp <austin@well-typed.com>
-
- Dec 15, 2014
-
-
jpm@cs.ox.ac.uk authored
(cherry picked from commit 946cbcef)
-
Austin Seipp authored
Summary: LLVM llc and opt commands should be set on all platforms, including Windows. If they're not, GHC tries to execute an unnamed executable, resulting in error messages such as: Error (figuring out LLVM version): : runInteractiveProcess: invalid argument (Invalid argument) <no location info>: Warning: Couldn't figure out LLVM version! Make sure you have installed LLVM This regression was introduced in e6bfc596. Test Plan: Build GHC and test if --info shows sensible values of "LLVM llc command" and "LLVM opt command" Reviewers: austin, #ghc Reviewed By: austin, #ghc Subscribers: austin Projects: #ghc Differential Revision: https://phabricator.haskell.org/D190 GHC Trac Issues: #7143 (cherry picked from commit 918719b9)
-
Simon Peyton Jones authored
(cherry picked from commit 2990e97f)
-
Simon Peyton Jones authored
This is actually the bug that triggered Trac #9390. We had an unboxed tuple (# writeArray# ..., () #), and that writeArray# argument isn't ok-for-speculation, so disobeys the invariant. The desugaring of unboxed tuples was to blame; the fix is easy. (cherry picked from commit 1fc60ea1)
-
Richard Eisenberg authored
(cherry picked from commit a09508b7)
-
Richard Eisenberg authored
This was very simple: lists of different lengths are *maybe* apart, not *surely* apart. (cherry picked from commit f29bdfbc)
-
Richard Eisenberg authored
(cherry picked from commit 1a3e19d0)
-
Richard Eisenberg authored
Abort typechecking when we detect a superclass cycle error, as ambiguity checking in the presence of superclass cycle errors can cause a loop. (cherry picked from commit 1b138869)
-
kgardas authored
Summary: This patch fixes inconsistency in exported functions from TcSplice.lhs and TcSplice.lhs-boot files. It looks like only GHC HEAD is sensitive to it and complains about it while bootstraping another HEAD. At least this is what happening on Solaris/AMD64 builder machine where GHC 7.9.20140620 is used as a boostrap compiler. The failure does not happen on another builders. Test Plan: validate Reviewers: austin Reviewed By: austin Subscribers: phaskell, simonmar, relrod, carter Differential Revision: https://phabricator.haskell.org/D74 (cherry picked from commit d996a1bb)
-
Sergei Trofimovich authored
To reproduce build failure it's enough to try to build GHC on amd64 with the following setup: $ cat mk/build.mk # for #9552 GhcWithInterpreter = NO It gives: Reachable modules from DynFlags out of date Please fix compiler/ghc.mk, or building DLLs on Windows may break (#7780) Redundant modules: Bitmap BlockId ... <list of 42 modules> <make error> dll-split among other things makes sure all mentioned modules are used by DynFlags. '#ifdef GHCI' keeps is from happening. Patch moves those 42 modules under 'GhcWithInterpreter' guard. Fixes Issue #9552 Signed-off-by:
Sergei Trofimovich <slyfox@gentoo.org> (cherry picked from commit 2a8ea474)
-
Sebastian Dröge authored
Previously the linker was called without any commandline parameters to detect whether bfd or gold is used. However the -fuse-ld parameter can be used to switch between gold and bfd and should be taken into account here. Trac #9336 Signed-off-by:
Austin Seipp <austin@well-typed.com> (cherry picked from commit e7b414a3)
-
rwbarton authored
On some systems (depending on gcc multilib configuration) libffi would install into libffi/build/inst/lib64 even though we configure it with --libdir=libffi/build/inst/lib. There appears to be no way to get libffi to install to a predictable directory "out of the box", so we apply a small patch to Makefile.in. This is the same fix used in Gentoo's ebuild (https://bugs.gentoo.org/show_bug.cgi?id=462814). (cherry picked from commit 835d874d)
-
Austin Seipp authored
This sentence contains the word 'submodule' because it is a requirement. Signed-off-by:
Austin Seipp <austin@well-typed.com>
-
Austin Seipp authored
Summary: When we call runHandlers, we must pass it a ForeignPtr. To ensure that this happens, we introduce a wrapper that receives a plain Ptr and converts it into a ForeignPtr. Then we adjust startSignalHandlers in rts/posix/Signals.c to call the wrapper instead of calling runHandlers directly. Reviewers: hvr, austin, rwbarton, simonmar Reviewed By: austin, simonmar Subscribers: simonmar, thomie, carter Differential Revision: https://phabricator.haskell.org/D515 GHC Trac Issues: #9817 (cherry picked from commit 7ca5bb09)
-
Joachim Breitner authored
Summary: For compatibility with ARM machines from pre v6, the RTS provides implementations of certain atomic operations. Previously, these were only included in the threaded RTS. But ghc (the library) contains the code in compiler/cbits/genSym.c, which uses these operations if there is more than one capability. But there is only one libHSghc, so the linker wants to resolve these symbols in every case. By providing these operations in all RTSs, the linker is happy. The only downside is a small amount of dead code in the non-threaded RTS on old ARM machines. Test Plan: It helped here. Reviewers: bgamari, austin Reviewed By: bgamari, austin Subscribers: carter, thomie Differential Revision: https://phabricator.haskell.org/D564 GHC Trac Issues: #8951 (cherry picked from commit df1307f0)
-
- Nov 26, 2014
-
-
tuncer authored
Signed-off-by:
Austin Seipp <austin@well-typed.com>
-
- Nov 20, 2014
-
-
Austin Seipp authored
Signed-off-by:
Austin Seipp <austin@well-typed.com>
-
- Nov 19, 2014
-
-
Austin Seipp authored
This reverts commit 55d2522b. Signed-off-by:
Austin Seipp <austin@well-typed.com>
-
- Nov 05, 2014
-
-
Austin Seipp authored
Signed-off-by:
Austin Seipp <austin@well-typed.com>
-
Austin Seipp authored
This breaks the build because I am a nincompoop and TyOpPrec doesn't exit here. This reverts commit d71f316e.
-
Austin Seipp authored
Signed-off-by:
Austin Seipp <austin@well-typed.com>
-
AndreasVoellmy authored
Summary: This reverts commit 4748f593. The fix for #9423 was reverted because this commit introduced a C function setIOManagerControlFd() (defined in Schedule.c) defined for all OS types, while the prototype (in includes/rts/IOManager.h) was only included when mingw32_HOST_OS is not defined. This broke Windows builds. This commit reverts the original commit and resolves the problem by only defining setIOManagerControlFd() when mingw32_HOST_OS is defined. Hence the missing prototype error should not occur on Windows. In addition, since the io_manager_control_wr_fd field of the Capability struct is only usd by the setIOManagerControlFd, this commit includes the io_manager_control_wr_fd field in the Capability struct only when mingw32_HOST_OS is not defined. Test Plan: Try to compile successfully on all platforms. Reviewers: austin Reviewed By: austin Subscribers: simonmar, ezyang, carter Differential Revision: https://phabricator.haskell.org/D174 (commit cherry picked from 7e658bc1)
-
- Nov 03, 2014
-
-
Austin Seipp authored
Signed-off-by:
Austin Seipp <austin@well-typed.com>
-
Simon Peyton Jones authored
This patch corrects an egregious error introduced by: commit 022f8750 Author: Simon Peyton Jones <simonpj@microsoft.com> Date: Thu May 15 16:07:04 2014 +0100 Refactoring around TyCon.isSynTyCon * Document isSynTyCon better * Add isTypeSyonymTyCon for regular H98 type synonyms * Use isTypeSynonymTyCon rather than isSynTyCon where the former is really intended At this particular spot in TcValidity we really do mean isSynTyCon and not isTypeSynonymTyCon. Fixes Trac #9433 (cherry picked from commit ee4501bb) Conflicts: testsuite/tests/indexed-types/should_fail/all.T
-
Simon Peyton Jones authored
Un-saturated type-family and type-synonym applications are detected in the front end, but for some reason Lint wasn't looking for them. I came across this when wondering why Trac #9433 didn't give a Core Lint error (cherry picked from commit 8ff46714)
-
Gabor Greif authored
(cherry picked from commit 3c5648af)
-
Austin Seipp authored
Signed-off-by:
Austin Seipp <austin@well-typed.com>
-
Austin Seipp authored
Signed-off-by:
Austin Seipp <austin@well-typed.com>
-
Gergő Érdi authored
(cherry picked from commit e5ba3608)
-
Simon Peyton Jones authored
This long-standing and egregious bug meant that call information was being gratuitously copied, leading to an exponential blowup in the number of calls to be examined when function definitions are deeply nested. That is what has been causing the blowup in SpecConstr's running time, not (as I had previously supposed) generating very large code. See Note [spec_usg includes rhs_usg] (cherry picked from commit af4bc31c)
-
Simon Peyton Jones authored
This is just a small refactoring that makes the code a bit clearer, using a data type instead of a triple. We get better pretty-printing too. (cherry picked from commit c0fe1d9e)
-
Simon Peyton Jones authored
(cherry picked from commit 675c5478)
-
Simon Peyton Jones authored
Fixes Trac #9658 (cherry picked from commit 48089ccf) Conflicts: compiler/types/TypeRep.lhs testsuite/tests/ghci/scripts/all.T testsuite/tests/perf/compiler/T5837.stderr testsuite/tests/typecheck/should_fail/ContextStack2.stderr testsuite/tests/typecheck/should_fail/T8392a.stderr
-
Sergei Trofimovich authored
Signed-off-by:
Sergei Trofimovich <slyfox@gentoo.org> (cherry picked from commit 2fcb36e4)
-