Timeline


and

Oct 17, 2008:

6:45 PM Ticket #2704 ("403 Forbidden" on recent 6.10.0 snapshot tarballs) closed by igloo
fixed: Thanks for the report. I've fixed the permission on the existing files, …
6:07 PM Commentary/Compiler/NewCodeGenPipeline edited by dias
(diff)
6:05 PM Commentary/Compiler/NewCodeGen edited by dias
(diff)
6:05 PM Commentary/Compiler/NewCodeGenPipeline edited by dias
(diff)
6:02 PM Commentary/Compiler/NewCodeGenPipeline edited by dias
(diff)
5:52 PM Commentary/Compiler/NewCodeGenPipeline edited by dias
(diff)
5:50 PM Commentary/Compiler/NewCodeGenPipeline edited by dias
(diff)
5:07 PM Changeset in ghc [6bc9216]coerciblecoloured-coredata-kind-syntaxghc-7.2ghc-7.4ghc-7.6ghc-7.8ghc-lwc2ghc-new-flavorghc-spjlate-lam-liftlocal-gcmonad-compno-pred-tysdocsupercompilertc-untouchablesth-new-7.6wip/T4404wip/T5084wip/T7704wip/T8545-ghc-7.8wip/T8592wip/T8776wip/T8959wip/T8995-level-generalisationwip/T9023wip/T9136wip/ampwip/cbv-conv-thunkwip/common-contextwip/ermsbwip/exprAritywip/ext-solverwip/generics-propeqwip/nested-cprwip/orfwip/pattern-synonymswip/recurs-compatwip/simdwip/th-newwip/travis by dias@…>
Removed warnings, made Haddock happy, added examples in documentation The interesting examples talk about our story with heap checks in case alternatives and our story with the case scrutinee as a Boolean.
4:52 PM Commentary/Compiler/NewCodeGen edited by simonpj
(diff)
4:27 PM Commentary/Compiler/NewCodeGen edited by simonpj
(diff)
4:24 PM Commentary/Compiler/NewCodeGen edited by simonpj
(diff)
3:07 PM PolymorphicKinds edited by TristanAllwood
(diff)
2:46 PM KindSystem edited by TristanAllwood
(diff)
2:42 PM KindSystem edited by TristanAllwood
(diff)
2:38 PM KindSystem edited by TristanAllwood
(diff)
2:28 PM KindSystem edited by TristanAllwood
(diff)
2:24 PM KindSystem edited by TristanAllwood
(diff)
2:22 PM KindSystem edited by TristanAllwood
(diff)
1:24 PM Commentary/Compiler/NewCodeGenPipeline edited by simonpj
(diff)
1:22 PM Commentary/Compiler/NewCodeGen edited by simonpj
(diff)
1:11 PM Commentary/Compiler/NewCodeGenPipeline edited by simonpj
(diff)
12:48 PM Commentary/Compiler/NewCodeGen edited by simonpj
(diff)
12:36 PM Commentary/Compiler/NewCodeGen edited by simonpj
(diff)
12:26 PM Commentary/Compiler/NewCodeGen edited by simonpj
(diff)
12:25 PM Commentary/Compiler/NewCodeGen edited by simonpj
(diff)
12:22 PM Commentary/Compiler/NewCodeGen edited by simonpj
(diff)
12:21 PM Commentary/Compiler/NewCodeGen edited by simonpj
(diff)
12:20 PM Commentary/Compiler/NewCodeGen edited by simonpj
(diff)
10:37 AM Ticket #2707 (GHCi reports "exitWith ExitSuccess" as an exception) created by guest
Consider the following behaviour. […] Is this desired --- i.e. is a …
9:11 AM PolymorphicKinds edited by simonpj
(diff)
9:09 AM Commentary/Compiler/NewCodeGen edited by dias
(diff)
9:07 AM KindSystem edited by simonpj
(diff)
9:02 AM PolymorphicKinds edited by simonpj
(diff)
8:57 AM PolymorphicKinds edited by simonpj
(diff)
8:51 AM PolymorphicKinds edited by simonpj
(diff)
8:46 AM KindSystem edited by simonpj
(diff)
8:37 AM KindSystem edited by simonpj
(diff)
8:25 AM KindSystem edited by simonpj
(diff)
8:20 AM KindSystem edited by simonpj
(diff)
8:09 AM KindSystem edited by simonpj
(diff)
8:08 AM KindSystem edited by simonpj
(diff)
8:04 AM KindSystem edited by simonpj
(diff)
8:03 AM KindSystem edited by simonpj
(diff)
8:03 AM KindSystem edited by simonpj
(diff)
7:46 AM Ticket #2706 (Associated data type doesn't infer context) closed by simonpj
invalid: I'm afraid the error message is fine. (Baz a) does not have an Eq
3:02 AM Ticket #2706 (Associated data type doesn't infer context) created by ajd
The following code fails to compile: […] The error message is […] …
2:46 AM Ticket #1837 (ghc-pkg should not accept unversioned depends) reopened by duncan
It seems there is a regression here. See #2705. Apparently unversionend …
12:52 AM Ticket #2705 (ghc discards version of wired-in packages) created by thoughtpolice
If you invoke ghc with something like -hide-all-packages and then run it …

Oct 16, 2008:

11:54 PM Ticket #2704 ("403 Forbidden" on recent 6.10.0 snapshot tarballs) created by ingmar
On all 3 snapshot distributions since 20081014 @ …
9:10 PM Ticket #2703 (Buffer overflow, occasional segfaults when using handles created by ...) created by sclv
See attached test cases (BigSock and BigSockFail). They both implement a …
7:04 PM Ticket #2702 (having build issues with ghc 6.6.1) created by wnyrodeo
Hi, I am very new to building ghc. My platform is "i686-pc-linux-gnu", …
3:44 PM Changeset in ghc [7ae888d]ghc-7.8wip/T8545-ghc-7.8wip/T8776wip/T8959wip/T8995-level-generalisationwip/T9023wip/T9136wip/ampwip/ermsbwip/ext-solverwip/generics-propeqwip/nested-cprwip/orfwip/pattern-synonymswip/recurs-compatwip/travis by Max Bolingbroke <batterseapower@…>
Test annotations
3:44 PM Changeset in testsuite [934d2c0]at-defaultsatomicsdata-kind-syntaxencodingghc-7.2ghc-7.4ghc-7.6ghc-deferghc-new-comonad-compno-pred-tyoverlapping-tyfamspatch-4404patch-5014patch-5084tc-untouchablesth-newtype-natstype-nats-simpleunboxed-tuple-argumentsunboxed-tuple-arguments2wip/nested-cprwip/pattern-synonymswip/th-new by Max Bolingbroke <batterseapower@…>
Test annotations
3:34 PM GHC-6.10.1 edited by wkahl
OK for Linux/powerpc (#1717 still open) (diff)
3:29 PM PolymorphicKinds edited by TristanAllwood
implementation thoughts (diff)
3:20 PM KindSystem edited by TristanAllwood
newkind comment (diff)
3:18 PM KindSystem edited by TristanAllwood
Kind synonyms (diff)
3:11 PM KindSystem edited by TristanAllwood
More on autolifting (diff)
1:07 PM KindSystem edited by guest
typos (diff)
1:04 PM PolymorphicKinds edited by guest
a bit more on type classes (diff)
12:26 PM Changeset in base [c55fb56]data-proxydbcsencodingghc-7.2ghc-7.4ghc-7.6ghc-7.8imp-param-classmonad-compsupercompilertype-reasoningwindows-iocp by Max Bolingbroke <batterseapower@…>
Add AnnotationWrapper type so GHC can capture annotation dictionaries during compilation
12:26 PM Changeset in ghc [1b1a4ac]wip/T8959wip/T9136wip/ampwip/ermsbwip/ext-solverwip/generics-propeqwip/orfwip/pattern-synonymswip/travis by Max Bolingbroke <batterseapower@…>
Add AnnotationWrapper type so GHC can capture annotation dictionaries during compilation
12:25 PM Changeset in ghc [e38db62e]wip/T8959wip/T9136wip/ampwip/ermsbwip/ext-solverwip/generics-propeqwip/orfwip/pattern-synonymswip/travis by Max Bolingbroke <batterseapower@…>
Make NameFlavour have a full Data instance so annotations can deserialize it
11:07 AM Ticket #2701 (Cannot derive Data for structures containing unboxed values) created by batterseapower
Trying to compile this: […] Results in an error: […] I'm not …
10:59 AM KindSystem edited by guest
De latexing (diff)
10:58 AM Annotations edited by batterseapower
(diff)
10:57 AM Annotations edited by batterseapower
(diff)
10:57 AM Annotations edited by batterseapower
(diff)
10:47 AM ClosedTypeFamilies edited by guest
(diff)
10:46 AM Annotations edited by batterseapower
(diff)
10:46 AM ClosedTypeFamilies edited by guest
(diff)
10:42 AM Changeset in ghc [c62b824]coerciblecoloured-coredata-kind-syntaxghc-7.2ghc-7.4ghc-7.6ghc-7.8ghc-lwc2ghc-new-flavorghc-spjlate-lam-liftlocal-gcmonad-compno-pred-tysdocsupercompilertc-untouchablesth-new-7.6wip/T4404wip/T5084wip/T7704wip/T8545-ghc-7.8wip/T8592wip/T8776wip/T8959wip/T8995-level-generalisationwip/T9023wip/T9136wip/ampwip/cbv-conv-thunkwip/common-contextwip/ermsbwip/exprAritywip/ext-solverwip/generics-propeqwip/nested-cprwip/orfwip/pattern-synonymswip/recurs-compatwip/simdwip/th-newwip/travis by dias@…>
Fixed linear regalloc bug, dropped some tracing code o The linear-scan register allocator sometimes allocated a block before allocating one of its predecessors, which could lead to inconsistent allocations. Now, we allocate a block only if a predecessor has set the "incoming" assignments for the block (or if it's the procedure's entry block). o Also commented out some tracing code on the new codegen path.
10:25 AM KindSystem created by guest
WIP thinking about adding a kind system
10:04 AM Changeset in base [e4a135d]data-proxydbcsencodingghc-7.2ghc-7.4ghc-7.6ghc-7.8imp-param-classmonad-compsupercompilertype-reasoningwindows-iocp by Simon Marlow <marlowsd@…>
docs about how exceptions are handled by forkIO'd threads (#2651)
10:04 AM Changeset in ghc [2f27767]wip/T8959wip/T9136wip/ampwip/ermsbwip/ext-solverwip/generics-propeqwip/orfwip/pattern-synonymswip/travis by Simon Marlow <marlowsd@…>
docs about how exceptions are handled by forkIO'd threads (#2651)
10:02 AM ClosedTypeFamilies created by guest
WIP thinking about closed type families
9:45 AM PolymorphicKinds created by guest
Starting to think about Polymorphic kinds for haskell (WIP)

Oct 15, 2008:

10:15 PM Ticket #2700 (Template Haskell pretty printer arrow always associates right) created by aprocter
When I run a Template Haskell-generated tysig declaration through pprint, …
8:37 PM Ticket #2690 (Problem building HEAD when a newer version of Cabal is installed) closed by igloo
fixed: Thanks for the report; fixed in HEAD and 6.10.
7:58 PM Ticket #2694 (Building GHC 6.10 with Cabal 1.6 fails due to in-tree Cabal 1.5.5) closed by igloo
fixed: The build system now forcibly uses the in-tree Cabal version (in HEAD and …
5:41 PM Ticket #2687 (Lexical error when compiling unicode-prelude-0.1 using GHC 6.10.1 RC1) closed by igloo
fixed: No objections, so I've done as Simon suggested in HEAD and 6.10.
5:40 PM Ticket #2680 (Type-checking performance regression) closed by igloo
fixed: Fixed in HEAD and 6.10.
5:04 PM Ticket #2497 (Weird scoping for tyvars in rules) closed by igloo
fixed: Merged
12:33 PM Ticket #2699 (broken pipe errors are too noisy) created by int-e
The following program […] produces this output when piped through …
10:28 AM Changeset in ghc [94ddca44]ghc-7.8wip/T8545-ghc-7.8wip/T8776wip/T8959wip/T8995-level-generalisationwip/T9023wip/T9136wip/ampwip/ermsbwip/ext-solverwip/generics-propeqwip/nested-cprwip/orfwip/pattern-synonymswip/recurs-compatwip/travis by simonpj <simonpj@…>
Wibble to output
10:28 AM Changeset in testsuite [fc71fa38]at-defaultsatomicsdata-kind-syntaxencodingghc-7.2ghc-7.4ghc-7.6ghc-deferghc-new-comonad-compno-pred-tyoverlapping-tyfamspatch-4404patch-5014patch-5084tc-untouchablesth-newtype-natstype-nats-simpleunboxed-tuple-argumentsunboxed-tuple-arguments2wip/nested-cprwip/pattern-synonymswip/th-new by simonpj <simonpj@…>
Wibble to output
9:36 AM Ticket #2698 (Windows binary distribution pops up README.TXT for the source distribution) created by ganesh
When the Windows installer finishes, it offers to show you a README. The …
9:10 AM Building/RunningTests edited by NeilMitchell
(diff)
9:03 AM Ticket #2696 (forall not recognized in RULES) closed by simonpj
fixed: Fixed by […] Simon
8:41 AM Changeset in ghc [573b215a]ghc-7.8wip/T8545-ghc-7.8wip/T8776wip/T8959wip/T8995-level-generalisationwip/T9023wip/T9136wip/ampwip/ermsbwip/ext-solverwip/generics-propeqwip/nested-cprwip/orfwip/pattern-synonymswip/recurs-compatwip/travis by simonpj <simonpj@…>
Update test output
8:41 AM Changeset in testsuite [bff434c]at-defaultsatomicsdata-kind-syntaxencodingghc-7.2ghc-7.4ghc-7.6ghc-deferghc-new-comonad-compno-pred-tyoverlapping-tyfamspatch-4404patch-5014patch-5084tc-untouchablesth-newtype-natstype-nats-simpleunboxed-tuple-argumentsunboxed-tuple-arguments2wip/nested-cprwip/pattern-synonymswip/th-new by simonpj <simonpj@…>
Update test output
8:36 AM Ticket #2651 (BlockedIndefinitely not thrown when it should be) closed by simonmar
wontfix: As Ian says, it works with the threaded RTS. This is because detecting …
7:59 AM Ticket #2697 (bad testsuite results with ghc-6.10.0.20081007) created by maeder
As I've mailed […] These are far too many failures, I think. I've …

Oct 14, 2008:

4:54 PM Changeset in ghc [41f7ea2]coerciblecoloured-coredata-kind-syntaxghc-7.2ghc-7.4ghc-7.6ghc-7.8ghc-lwc2ghc-new-flavorghc-spjlate-lam-liftlocal-gcmonad-compno-pred-tysdocsupercompilertc-untouchablesth-new-7.6wip/T4404wip/T5084wip/T7704wip/T8545-ghc-7.8wip/T8592wip/T8776wip/T8959wip/T8995-level-generalisationwip/T9023wip/T9136wip/ampwip/cbv-conv-thunkwip/common-contextwip/ermsbwip/exprAritywip/ext-solverwip/generics-propeqwip/nested-cprwip/orfwip/pattern-synonymswip/recurs-compatwip/simdwip/th-newwip/travis by dias@…>
Keep update frames live even in functions that never return An unusual case, but without it: (a) we had an assertion failure (b) we can overwrite the caller's infotable, which might cause the garbage collector to collect live data. Better to keep the update frame live at all call sites, not just at returns.
4:36 PM Ticket #2672 (Provide GHC Haddock documentation at standard location) closed by igloo
fixed
4:35 PM Ticket #2656 (GHC API document isn't linked from any document) closed by igloo
fixed: I've added some links, in HEAD and 6.10.
4:03 PM Changeset in ghc [e13a12b]coerciblecoloured-coredata-kind-syntaxghc-7.2ghc-7.4ghc-7.6ghc-7.8ghc-lwc2ghc-new-flavorghc-spjlate-lam-liftlocal-gcmonad-compno-pred-tysdocsupercompilertc-untouchablesth-new-7.6wip/T4404wip/T5084wip/T7704wip/T8545-ghc-7.8wip/T8592wip/T8776wip/T8959wip/T8995-level-generalisationwip/T9023wip/T9136wip/ampwip/cbv-conv-thunkwip/common-contextwip/ermsbwip/exprAritywip/ext-solverwip/generics-propeqwip/nested-cprwip/orfwip/pattern-synonymswip/recurs-compatwip/simdwip/th-newwip/travis by dias@…>
Removed space and time inefficiency in procpoint splitting I was adding extra jumps to every procpoint, even when the split-off graph referred to only some of the procpoints. No effect on correctness, but a big effect on space/time efficiency when there are lots of procpoints...
2:02 PM Changeset in ghc [e367ebeb]coerciblecoloured-coredata-kind-syntaxghc-7.2ghc-7.4ghc-7.6ghc-7.8ghc-lwc2ghc-new-flavorghc-spjlate-lam-liftlocal-gcmonad-compno-pred-tysdocsupercompilertc-untouchablesth-new-7.6wip/T4404wip/T5084wip/T7704wip/T8545-ghc-7.8wip/T8592wip/T8776wip/T8959wip/T8995-level-generalisationwip/T9023wip/T9136wip/ampwip/cbv-conv-thunkwip/common-contextwip/ermsbwip/exprAritywip/ext-solverwip/generics-propeqwip/nested-cprwip/orfwip/pattern-synonymswip/recurs-compatwip/simdwip/th-newwip/travis by dias@…>
Clarify the SRT building process Before: building a closure that would build an SRT given the top-level SRT. It was somewhat difficult to understand the control flow, and it may have had held onto some data structures long after they should be dead. Now, I just bundle the info we need about CAFs along with the procedure and directly call a new top-level function to build the SRTs later.
11:26 AM Changeset in ghc [309f64a]coerciblecoloured-coredata-kind-syntaxghc-7.2ghc-7.4ghc-7.6ghc-7.8ghc-lwc2ghc-new-flavorghc-spjlate-lam-liftlocal-gcmonad-compno-pred-tysdocsupercompilertc-untouchablesth-new-7.6wip/T4404wip/T5084wip/T7704wip/T8545-ghc-7.8wip/T8592wip/T8776wip/T8959wip/T8995-level-generalisationwip/T9023wip/T9136wip/ampwip/cbv-conv-thunkwip/common-contextwip/ermsbwip/exprAritywip/ext-solverwip/generics-propeqwip/nested-cprwip/orfwip/pattern-synonymswip/recurs-compatwip/simdwip/th-newwip/travis by dias@…>
Don't adjust hp up when the case scrutinee won't allocate If the case scrutinee can't allocate, we don't need to do a heap check in the case alternatives. (A previous patch got that right.) In that case, we had better not adjust the heap pointer to recover unused stack space before evaluating the scrutinee -- because we aren't going to reallocate for the case alternative.
7:53 AM Annotations edited by simonpj
(diff)
7:52 AM Annotations edited by simonpj
(diff)
7:50 AM Annotations edited by simonpj
(diff)
5:30 AM Ticket #2679 (dph build failure on Sparc Solaris 10 for ghc-6.10.0.20081007) closed by rl
fixed: This should be fixed by this patch to package dph: Fri Oct 10 01:44:18 …
1:15 AM Ticket #2696 (forall not recognized in RULES) created by conal
[…]
1:09 AM Ticket #2695 (bogus "syntactically distinct contexts" error) created by conal
[…]

Oct 13, 2008:

8:28 PM Ticket #2694 (Building GHC 6.10 with Cabal 1.6 fails due to in-tree Cabal 1.5.5) created by dons
If you've installed Cabal 1.6 (as we're recommending) GHC won't build, …
8:04 PM Ticket #2693 (Type Synonym Family Panic in GHC 6.10.0.20081007) created by BenMoseley
The following file (DM.hs) panics GHC 6.10 with this error message: […] …
4:50 PM Annotations edited by batterseapower
(diff)
4:12 PM Changeset in base [08617e7]data-proxydbcsencodingghc-7.2ghc-7.4ghc-7.6ghc-7.8imp-param-classmonad-compsupercompilertype-reasoningwindows-iocp by Clemens Fruhwirth <clemens@…>
Import n_capabilities via import symbol when linking dynamically
4:12 PM Changeset in ghc [f2b608c]wip/T8959wip/T9136wip/ampwip/ermsbwip/ext-solverwip/generics-propeqwip/orfwip/pattern-synonymswip/travis by Clemens Fruhwirth <clemens@…>
Import n_capabilities via import symbol when linking dynamically
3:27 PM Changeset in ghc [93d047a1]coerciblecoloured-coredata-kind-syntaxghc-7.2ghc-7.4ghc-7.6ghc-7.8ghc-lwc2ghc-new-flavorghc-spjlate-lam-liftlocal-gcmonad-compno-pred-tysdocsupercompilertc-untouchablesth-new-7.6wip/T4404wip/T5084wip/T7704wip/T8545-ghc-7.8wip/T8592wip/T8776wip/T8959wip/T8995-level-generalisationwip/T9023wip/T9136wip/ampwip/cbv-conv-thunkwip/common-contextwip/ermsbwip/exprAritywip/ext-solverwip/generics-propeqwip/nested-cprwip/orfwip/pattern-synonymswip/recurs-compatwip/simdwip/th-newwip/travis by dias@…>
Floating infotables were reversed in C back end
3:11 PM Annotations edited by batterseapower
(diff)
3:11 PM Annotations edited by batterseapower
(diff)
3:09 PM Annotations edited by batterseapower
(diff)
2:47 PM Ticket #2685 (Panic in harpy with GHC 6.10 RC) closed by igloo
fixed: Merged
2:06 PM Ticket #2624 (GHC 10.1 beta build error) closed by simonmar
fixed: Ok, so this bug is either fixed or not reproducible any more.
1:42 PM Changeset in ghc [dc6a72b9]coerciblecoloured-coredata-kind-syntaxghc-7.2ghc-7.4ghc-7.6ghc-7.8ghc-lwc2ghc-new-flavorghc-spjlate-lam-liftlocal-gcmonad-compno-pred-tysdocsupercompilertc-untouchablesth-new-7.6wip/T4404wip/T5084wip/T7704wip/T8545-ghc-7.8wip/T8592wip/T8776wip/T8959wip/T8995-level-generalisationwip/T9023wip/T9136wip/ampwip/cbv-conv-thunkwip/common-contextwip/ermsbwip/exprAritywip/ext-solverwip/generics-propeqwip/nested-cprwip/orfwip/pattern-synonymswip/recurs-compatwip/simdwip/th-newwip/travis by dias@…>
forgot a few files
1:37 PM Ticket #2663 (STM crash with -N2+) closed by igloo
fixed: Merged
1:25 PM Changeset in ghc [e6243a81]coerciblecoloured-coredata-kind-syntaxghc-7.2ghc-7.4ghc-7.6ghc-7.8ghc-lwc2ghc-new-flavorghc-spjlate-lam-liftlocal-gcmonad-compno-pred-tysdocsupercompilertc-untouchablesth-new-7.6wip/T4404wip/T5084wip/T7704wip/T8545-ghc-7.8wip/T8592wip/T8776wip/T8959wip/T8995-level-generalisationwip/T9023wip/T9136wip/ampwip/cbv-conv-thunkwip/common-contextwip/ermsbwip/exprAritywip/ext-solverwip/generics-propeqwip/nested-cprwip/orfwip/pattern-synonymswip/recurs-compatwip/simdwip/th-newwip/travis by dias@…>
Big collection of patches for the new codegen branch. o Fixed bug that emitted the copy-in code for closure entry in the wrong place -- at the initialization of the closure. o Refactored some of the closure entry code. o Added code to check that no LocalRegs are live-in to a procedure -- trip up some buggy programs earlier o Fixed environment bindings for thunks -- we weren't (re)binding the free variables in a thunk o Fixed a bug in proc-point splitting that dropped some updates to the entry block in a procedure. o Fixed improper calls to code that generates CmmLit's for strings o New invariant on cg_loc in CgIdInfo: the expression is always tagged o Code to load free vars on entry to a thunk was (wrongly) placed before the heap check. o Some of the StgCmm code was redundantly passing around Id's along with CgIdInfo's; no more. o Initialize the LocalReg's that point to a closure before allocating and initializing the closure itself -- otherwise, we have problems with recursive closure bindings o BlockEnv and BlockSet types are now abstract. o Update frames: - push arguments in Old call area - keep track of the return sp in the FCode monad - keep the return sp in every call, tail call, and return (because it might be different at different call sites, e.g. tail calls to the gc after a heap check are performed before pushing the update frame) - set the sp appropriately on returns and tail calls o Reduce call, tail call, and return to a single LastCall node o Added slow entry code, using different calling conventions on entry and tail call o More fixes to the calling convention code. The tricky stuff is all about the closure environment: it must be passed in R1, but in non-closures, there is no such argument, so we can't treat all arguments the same way: the closure environment is special. Maybe the right step forward would be to define a different calling convention for closure arguments. o Let-no-escapes need to be emitted out-of-line -- otherwise, we drop code. o Respect RTS requirement of word alignment for pointers My stack allocation can pack sub-word values into a single word on the stack, but it wasn't requiring word-alignment for pointers. It does now, by word-aligning both pointer registers and call areas. o CmmLint was over-aggresively ruling out non-word-aligned memory references, which may be kosher now that we can spill small values into a single word. o Wrong label order on a conditional branch when compiling switches. o void args weren't dropped in many cases. To help prevent this kind of mistake, I defined a NonVoid wrapper, which I'm applying only to Id's for now, although there are probably other good candidates. o A little code refactoring: separate modules for procpoint analysis splitting, stack layout, and building infotables. o Stack limit check: insert along with the heap limit check, using a symbolic constant (a special CmmLit), then replace it when the stack layout is known. o Removed last node: MidAddToContext o Adding block id as a literal: means that the lowering of the calling conventions no longer has to produce labels early, which was inhibiting common-block elimination. Will also make it easier for the non-procpoint-splitting path. o Info tables: don't try to describe the update frame! o Over aggressive use of NonVoid!!!! Don't drop the non-void args before setting the type of the closure!!! o Sanity checking: Added a pass to stub dead dead slots on the stack (only ~10 lines with the dataflow framework) o More sanity checking: Check that incoming pointer arguments are non-stubbed. Note: these checks are still subject to dead-code removal, but they should still be quite helpful. o Better sanity checking: why stop at function arguments? Instead, in mkAssign, check that _any_ assignment to a pointer type is non-null -- the sooner the crash, the easier it is to debug. Still need to add the debugging flag to turn these checks on explicitly. o Fixed yet another calling convention bug. This time, the calls to the GC were wrong. I've added a new convention for GC calls and invoked it where appropriate. We should really straighten out the calling convention stuff: some of the code (and documentation) is spread across the compiler, and there's some magical use of the node register that should really be handled (not avoided) by calling conventions. o Switch bug: the arms in mkCmmLitSwitch weren't returning to a single join point. o Environment shadowing problem in Stg->Cmm: When a closure f is bound at the top-level, we should not bind f to the node register on entry to the closure. Why? Because if the body of f contains a let-bound closure g that refers to f, we want to make sure that it refers to the static closure for f. Normally, this would all be fine, because when we compile a closure, we rebind free variables in the environment. But f doesn't look like a free variable because it's a static value. So, the binding for f remains in the environment when we compile g, inconveniently referring to the wrong thing. Now, I bind the variable in the local environment only if the closure is not bound at the top level. It's still okay to make assumptions about the node holding the closure environment; we just won't find the binding in the environment, so code that names the closure will now directly get the label of the static closure, not the node register holding a pointer to the static closure. o Don't generate bogus Cmm code containing SRTs during the STG -> Cmm pass! The tables made reference to some labels that don't exist when we compute and generate the tables in the back end. o Safe foreign calls need some special treatment (at least until we have the integrated codegen). In particular: o they need info tables o they are not procpoints -- the successor had better be in the same procedure o we cannot (yet) implement the calling conventions early, which means we have to carry the calling-conv info all the way to the end o We weren't following the old convention when registering a module. Now, we use update frames to push any new modules that have to be registered and enter the youngest one on the stack. We also use the update frame machinery to specify that the return should pop the return address off the stack. o At each safe foreign call, an infotable must be at the bottom of the stack, and the TSO->sp must point to it. o More problems with void args in a direct call to a function: We were checking the args (minus voids) to check whether the call was saturated, which caused problems when the function really wasn't saturated because it took an extra void argument. o Forgot to distinguish integer != from floating != during Stg->Cmm o Updating slotEnv and areaMap to include safe foreign calls The dataflow analyses that produce the slotEnv and areaMap give results for each basic block, but we also need the results for a safe foreign call, which is a middle node. After running the dataflow analysis, we have another pass that updates the results to includ any safe foreign calls. o Added a static flag for the debugging technique that inserts instructions to stub dead slots on the stack and crashes when a stubbed value is loaded into a pointer-typed LocalReg. o C back end expects to see return continuations before their call sites. Sorted the flowgraphs appropriately after splitting. o PrimOp calling conventions are special -- unlimited registers, no stack Yet another calling convention... o More void value problems: if the RHS of a case arm is a void-typed variable, don't try to return it. o When calling some primOp, they may allocate memory; if so, we need to do a heap check when we return from the call.
1:05 PM Ticket #2319 (STM not as fair as it could be) closed by igloo
fixed: Merged.
1:05 PM Ticket #2636 (Error message for missing import substantially worse in 6.9/6.11) closed by igloo
fixed: Both merged
12:26 PM Ticket #2624 (GHC 10.1 beta build error) reopened by simonmar
This has the same smell as #2081. We don't know if it's fixed in 6.10.1 …
12:20 PM Changeset in ghc [1f170c8f]ghc-7.8wip/T8545-ghc-7.8wip/T8776wip/T8959wip/T8995-level-generalisationwip/T9023wip/T9136wip/ampwip/ermsbwip/ext-solverwip/generics-propeqwip/nested-cprwip/orfwip/pattern-synonymswip/recurs-compatwip/travis by Simon Marlow <marlowsd@…>
add test for #2685
12:20 PM Changeset in testsuite [92853ca]at-defaultsatomicsdata-kind-syntaxencodingghc-7.2ghc-7.4ghc-7.6ghc-deferghc-new-comonad-compno-pred-tyoverlapping-tyfamspatch-4404patch-5014patch-5084tc-untouchablesth-newtype-natstype-nats-simpleunboxed-tuple-argumentsunboxed-tuple-arguments2wip/nested-cprwip/pattern-synonymswip/th-new by Simon Marlow <marlowsd@…>
add test for #2685
11:27 AM Ticket #2563 (With -N4: "internal error: RELEASE_LOCK: I do not own this lock: Task.c ...) closed by simonmar
duplicate: This works fine with 6.10 (actually it was probably #2192 that fixed it, …
11:16 AM Changeset in base [94616fc]data-proxydbcsencodingghc-7.2ghc-7.4ghc-7.6ghc-7.8imp-param-classmonad-compsupercompilertype-reasoningwindows-iocp by jpm@…>
add link to the new syb wiki
11:16 AM Changeset in ghc [de659cd]wip/T8959wip/T9136wip/ampwip/ermsbwip/ext-solverwip/generics-propeqwip/orfwip/pattern-synonymswip/travis by jpm@…>
add link to the new syb wiki
9:13 AM Ticket #2692 (ghc-6.10.0.20081007 seg faults on Sparc) created by maeder
My attempt to build ghc-6.10.0.20081007 on a sparc created a stage2 …

Oct 12, 2008:

9:58 PM Ticket #2691 (runghc sets terminal ctrl-s to XOFF in ...) created by dancor
[…] Happens in console/xterm/urxvt and in/not-in gnu screen. Haven't …
7:15 PM Ticket #2690 (Problem building HEAD when a newer version of Cabal is installed) created by judah
I get the following error when building HEAD. I'm using the release …
5:49 PM Ticket #2675 (Malformed pragma causes hang under emacs) closed by igloo
invalid: This sounds like an emacs haskell-ghci mode bug to me (syntax highlighting …
4:18 PM Ticket #2624 (GHC 10.1 beta build error) closed by igloo
fixed: As discussed by e-mail, I think, this is actually a bug in 6.8.3. If you …
3:49 PM Ticket #2606 (Backspace, delete, etc. don't work in ghci in HEAD) closed by igloo
invalid: Looks to me like this turned out to be behaving as expected, then. Thanks …
2:58 PM Ticket #2689 (make maintainer-clean leaves generated files and directories) created by claus
Before updating my GHC head repo, I did make maintainer-clean. Recalling …
11:15 AM Ticket #2688 (GHC 6.10.0.20081007 hangs instead of giving error about missing type class ...) created by PVerswyvelen
The following code hangs GHC 6.10.0.20081007 on Windows […] it should …
10:29 AM Ticket #2687 (Lexical error when compiling unicode-prelude-0.1 using GHC 6.10.1 RC1) created by albertfong
When compiling unicode-prelude-0.1 using GHC 6.10.0.20081007, the …
Note: See TracTimeline for information about the timeline view.