summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix reversed test in OccurAnal (introduced in recent commit 428f8c3d)Simon Peyton Jones2011-08-031-10/+12
|
* Comment wibble (hash at start of line confused CPP)Simon Peyton Jones2011-08-031-2/+2
|
* Don't bleat about non-External names in mkUsageInfoSimon Peyton Jones2011-08-031-3/+14
| | | | See Note [Internal used_names]. Fixes Trac #5362.
* Further simplification to OccurAnal, concerning "weak loop breakers"Simon Peyton Jones2011-08-031-34/+50
| | | | Fixes Trac #5359.
* Don't run a splice if there are preceding type errorsSimon Peyton Jones2011-08-031-0/+10
| | | | Fixes Trac #5358.
* Os X: With Xcode 4, check for gcc-4.2 also in the setup for binary distributionsManuel M T Chakravarty2011-08-031-1/+30
|
* On OS X, use gcc-4.2 with Xcode 4 and upManuel M T Chakravarty2011-08-031-19/+27
|
* Exchange noinline/inlanable links to match textDaniel Fischer2011-08-031-2/+2
|
* Add a comment about how to do validate while capturing a debug log,Simon Peyton Jones2011-08-031-0/+1
| | | | for debugging the build system.
* Fix the permissions of all the package.conf.d files when installingIan Lynagh2011-07-281-3/+5
| | | | Fixes trac #5311.
* Don't fail validate due to warnings in CabalIan Lynagh2011-07-282-1/+7
| | | | Duncan says that Cabal isn't guaranteed to be warning-free.
* Fix let-floating out of Rec blocksSimon Peyton Jones2011-07-281-3/+46
| | | | | | | | | | | | | | This fixes Trac #5341 and #5342. The question is about what to do when floating out of the RHS of a Rec-bound function, when there's a FloatCase involved. For FloatLets they can join the Rec block, but FloatCases can't. But we don't want to mess with the arity (that was the bug). So in this (rather exotic case) we push the FloatCase back inside any lambdas. See Note [Floating out of Rec rhss]. It's a slightly ugly fix, but I can't think of anything better, and I don't think it has any practical impact.
* Fix comments and documentation on monad comprehensionsSimon Peyton Jones2011-07-282-6/+8
|
* The implementation of "weak loop breakers" was being too cleverSimon Peyton Jones2011-07-281-42/+58
| | | | | | | | | | The too-clever-ness meant that a variable could just go out of scope; this happened in building System.Consol.Haskeline.Backend.Terminfo in the haskeline library. This patch makes the weak-loopbreaker computation simpler, and a bit more conserative; which fixes the bug, and doesn't make any difference to the code in the end.
* Improve the documentation of the new generic programming mechanism.Jose Pedro Magalhaes2011-07-281-23/+61
| | | | Thanks to David Terei for the comments.
* Update release notesIan Lynagh2011-07-241-24/+62
|
* Fix docbook syntax in user guideIan Lynagh2011-07-241-2/+2
|
* Improve debug printing for simplifier countsSimon Peyton Jones2011-07-242-43/+54
|
* Fix build in 7.2 branchIan Lynagh2011-07-241-0/+3
| | | | | | | | | | | | Merge the part of commit 2329833d4f3143d781db3448785fd395e8dba71c Author: David Terei <davidterei@gmail.com> Date: Wed Jul 20 16:27:28 2011 -0700 Format fixes that defines typInstErr.
* Simplify the treatment of RULES in OccurAnalSimon Peyton Jones2011-07-247-384/+464
| | | | | | | | | | I realised that my recently-added cunning stuff about RULES for imported Ids was simply wrong, so this patch removes it. See Note [Rules for imported functions], which explains it all. This patch also does quite a bit of refactoring in the treatment of loop breakers.
* Don't subtract HC_tot_time when calculating mut_user_timeIan Lynagh2011-07-241-3/+3
| | | | | Heap census now happens during GC, so that time is already accounted for in GC_tot_cpu.
* Fix heap profiling timesIan Lynagh2011-07-245-5/+14
| | | | | | | | | | Now that the heap census runs in the middle of garbage collections, the "CPU time" it was calculating included any CPU time used so far in the current GC. This could cause CPU time to appear to go down, which means hp2ps complained about "samples out of sequence". I'm not sure if this is the nicest way to solve this (maybe resurrecting mut_user_time_during_GC would be better?) but it gets things working again.
* Tweak the typeable fingerprintingIan Lynagh2011-07-241-4/+2
| | | | | | | Put spaces inbetween the values, so e.g. p:Foobar.baz p:Foo.barbaz will hash differently.
* Sync the typeable fingerprinting with baseIan Lynagh2011-07-242-9/+22
|
* Comments onlySimon Peyton Jones2011-07-241-0/+1
|
* Implement a findCycle function in Digraph,Simon Peyton Jones2011-07-243-51/+107
| | | | | | | | | | | | | | and use it to report module loops nicely This fixes Trac #5307. Now we get Module imports form a cycle: module `M8' (.\M8.hs) imports `M1' (M1.hs) which imports `M9' (.\M9.hs-boot) which imports `M8' (.\M8.hs) And the algorithm is linear time.
* Update safe haskell doc about Data.TypeableDavid Terei2011-07-241-0/+6
|
* show warning flags in :set (lost in the recent dopt->wopt change,Simon Marlow2011-07-241-6/+18
| | | | noticed by test ghci024)
* need to release the SM lock around heapCensus() to avoid deadlock withSimon Marlow2011-07-241-0/+2
| | | | +RTS -hT and -threaded.
* one more instance of the 64-bit constant bug I noticedSimon Marlow2011-07-241-1/+1
|
* Eta expand partial applicationsSimon Peyton Jones2011-07-241-4/+24
| | | | | | | | | | | | When we have x = \v -> map g we want to eta-expand to x = \v y -> map g y We weren't doing so, and that led to worse code and, perhaps, #5285. I need to check the latter, but I was certainly seeing one similar error. Anyway this looks like a definite improvement
* When specialising recursive functions, mark the specialised function NOINLINESimon Peyton Jones2011-07-242-2/+8
| | | | This fixes Trac #4903. See Note [Specialising imported functions] in OccurAnal.
* Change loop breaker terminologySimon Peyton Jones2011-07-2411-36/+32
| | | | | | | We used to have "loop breaker" and "non-rule loop breaker", but the unqualified version in particualr was pretty confusing. So now we have "strong loop breaker" and "weak loop breaker"; comments in BasicTypes and OccurAnal.
* Comments and white spaceSimon Peyton Jones2011-07-242-2/+1
|
* Generalise the type of minusVarEnv slightlySimon Peyton Jones2011-07-241-1/+1
|
* Add an unregisterised config to build.mkDavid Terei2011-07-241-0/+23
|
* Enable derived but not hand crafted Typeable instances in Safe HaskellIan Lynagh2011-07-241-0/+12
| | | | | | Conflicts: compiler/typecheck/TcInstDcls.lhs
* Fix 'make test' command for new testsuite locationDavid Terei2011-07-241-2/+2
|
* Update some files for new testsuite tests locationDavid Terei2011-07-243-4/+4
|
* Move the call to heapCensus() into GarbageCollect(), just beforeIan Lynagh2011-07-203-6/+17
| | | | | | | | | | | | calling resurrectThreads() (fixes #5314). This avoids a lot of problems, because resurrectThreads() may overwrite some closures in the heap, leaving slop behind. The bug in instances, this fix avoids them all in one go. Conflicts: rts/Schedule.c
* comment updatesSimon Marlow2011-07-201-2/+2
|
* fix an assertion failure, and possibly some bogosity (see comment)Simon Marlow2011-07-201-0/+10
|
* Improve semantics of wild-card expansion (fixes #5334)Simon Peyton Jones2011-07-203-43/+90
| | | | | | | | | When expanding the {..} stuff in an *expression*, take account of which variables are in scope. I updated the documentation, and in doing so found that part of the previously-documented semantics wasn't implemented (namely the stuff about fields in scope), so I fixed that too.
* Report on unused type variables (fixes #5331)Simon Peyton Jones2011-07-203-30/+40
| | | | | | | We were doing this already for explicit types like f :: forall a. Int but not for constructor declarations. This patch makes it consistent.
* Comments onlySimon Peyton Jones2011-07-201-1/+4
|
* Fix #481: use a safe recompilation check when Template Haskell isSimon Marlow2011-07-2013-93/+196
| | | | | | | | | | | | | | | | being used. We now track whether a module used any TH splices in the ModIface (and at compile time in the TcGblEnv and ModGuts). If a module used TH splices last time it was compiled, then we ignore the results of the normal recompilation check and recompile anyway, *unless* the module is "stable" - that is, none of its dependencies (direct or indirect) have changed. The stability test is pretty important - otherwise ghc --make would always recompile TH modules even if nothing at all had changed, but it does require some extra plumbing to get this information from GhcMake into HscMain. test in driver/recomp009
* note that we don't understand a comment (#5249)Simon Marlow2011-07-201-0/+2
|
* Factor the GHC version into the hash generated by --abi-hash (#5328)Simon Marlow2011-07-201-0/+3
|
* Fix #5332 (more): unboxed singleton tuples are fineSimon Peyton Jones2011-07-201-3/+0
| | | | This patch fixes the unboxed singleton tuples in types and patterns
* fix warningSimon Marlow2011-07-201-1/+0
|