- 10 May, 2004 2 commits
-
-
simonmar authored
Hack to generate correct dependencies for the RTS. We now #define PROFILING, THREADED_RTS and DEBUG when generating dependencies so that we get (hopefully) a superset of all the deps.
-
simonmar authored
In multiple declaration errors, give the location of one of the declarations as the location of the error message, instead of the top-level of the file.
-
- 09 May, 2004 1 commit
-
-
panne authored
Documentation typos
-
- 08 May, 2004 2 commits
- 07 May, 2004 4 commits
-
-
panne authored
GCC's __attribute__ handling seems to be a little bit stricter with GCC 3.3.3: * When a function declaration uses it, the corresponding definition has to use it, too. * Syntactically it is allowed only at the beginning of the function definition. Let's hope that the current syntax is backwards compatible...
-
simonpj authored
--------------------------------- Make sure that GHCi loads all necessary orphan-instance modules --------------------------------- When you do :m A, we need to load any orphan-instance modules below A. That's easily done, but had been forgotten. Do not merge to stable: the fix is different there
-
simonpj authored
White space
-
simonmar authored
make a SrcSpan for the whole file that is not "unhelpful"
-
- 06 May, 2004 15 commits
-
-
simonpj authored
Report error in GHCi for unlifted bindings
-
simonpj authored
Make addSrcSpan ignore unhelpful spans
-
simonpj authored
Improve error handling for deriving(Typeable)
-
simonpj authored
Better location info
-
simonpj authored
Add ASSERT
-
simonpj authored
Use IfaceDeprecs synonym
-
simonpj authored
Fix (head []) value for src span in mkSimpleMatch
-
simonpj authored
White spacing only
-
simonpj authored
Put parens around binders in debug prints
-
simonpj authored
Remove dead comments
-
simonpj authored
Comments
-
wolfgang authored
Threaded RTS: Fix a deadlock situation The flag startingWorkerThread that is used by startSchedulerTaskIfNecessary (in Schedule.c) has to be reset if startTask (in Task.c) decides not to start another task after all (if a task is already waiting). When the flag isn't reset, this leads to a deadlock the next time a new worker thread is actually needed. MERGE TO STABLE
-
simonmar authored
whitespace
-
simonmar authored
Make this work with GHC 5.04.x, by slurping in rawSystem from the libraries.
-
simonmar authored
Move the definition of rawSystem into a separate file which we #include in the places it is needed. This is slightly better than copying the code, since we now need it in three places (ghc/utils/runghc is the 3rd).
-
- 05 May, 2004 9 commits
-
-
krasimir authored
The commit allows to build GHCi libraries in Windows Command Prompt
-
simonmar authored
Rearrange the -F/-pgmF documentation a bit.
-
simonpj authored
More about windows
-
simonmar authored
x-ref to Control.Concurrent from the -threaded docs.
-
ross authored
add a note about #def in hsc2hs
-
simonmar authored
Add the runghc program
-
simonmar authored
Document use of -I flag for finding FFI header files
-
simonmar authored
FAQ about missing include files when using -O/-prof
-
simonmar authored
Add dependencies on jadetex and tetex-dvips Noticed by: Jeff Lewis
-
- 04 May, 2004 1 commit
-
-
simonpj authored
More notes for Windows and MSYS
-
- 30 Apr, 2004 2 commits
- 27 Apr, 2004 1 commit
-
-
simonpj authored
---------------------------------------- 1. Make primOpIsCheap do something sensible 2. Make the state hack work better ---------------------------------------- 1. In March 2001, we changed primOpIsCheap to primOpIsCheap op = False thereby making *no* primops seem cheap. But this killed eta expansion on case (x ==# y) of True -> \s -> ... which is bad. In particular a loop like doLoop n = loop 0 where loop i | i == n = return () | otherwise = bar i >> loop (i+1) allocated a closure every time round because it didn't eta expand. The problem that made us set primOpIsCheap to False was let x = a +# b *# c in x +# x where we don't want to inline x. But primopIsCheap doesn't control that (it's exprIsDupable that does) so the problem doesn't occur even if primOpIsCheap sometimes says 'True'. I think that perhaps something changed since March 2001. 2. Consider this case x of True -> \(s:RealWorld) -> e False -> foo where foo has arity 1. If we are using the "state hack" we want to eta expand here. This commit fixes arityType in the Var case (for foo) to take account of foo's type. Also add -fno-state-hack to the static flags, to allow the state hack to be switched off.
-
- 26 Apr, 2004 1 commit
-
-
simonmar authored
Update Jeff Lewis' email address
-
- 21 Apr, 2004 2 commits
-
-
simonpj authored
Do a much better job of slurping RULES. Now that stuff is slurped in lazily, as the simplifier pokes on it, we may not get the rules as early as we might wish. In the current HEAD, no new rules are slurped in after the beginning of SimplCore, and that means we permanently miss many rules. This commit arranges that every time round the simplifier loop we slurp in any new rules, and put them into the in-scope set, where the simplifier can find them. It's still possible that a rule might be slurped in a little later than in earlier versions of GHC, leading to more simplifier iterations, but let's see if that turns out to be a problem in practice.
-
simonpj authored
Import wibbles
-