Re: cross-compilation mode for hsc2hs

2010-12-22 Thread Brian Bloniarz
Hi Ian, I updated my hsc2hs patch as you suggested -- running hsc2hs --cross-safe will check for only the subset of hsc2hs which is supported by the cross-compilation mode. I also updated to the newest GHC head. The new patches are attached, please take a look. patch.hsc2hs_cross Patch for ghc/ut

[nightly] 22-Dec-2010 build of HEAD on i386-unknown-linux (cam-02-unx)

2010-12-22 Thread GHC Build Reports
Build description = HEAD on i386-unknown-linux (cam-02-unx) Build location= /playpen/simonmar/nightly/HEAD Build config file = /home/simonmar/nightly/site/msrc/conf-HEAD-cam-02-unx Nightly build started on cam-02-unx at Wed Dec 22 18:00:01 GMT 2010. checking out new source tree

pgj-freebsd-amd64-stable (amd64 FreeBSD STABLE), build 109, Success

2010-12-22 Thread Builder
pgj-freebsd-amd64-stable (amd64 FreeBSD STABLE), build 109 Build succeeded Details: http://darcs.haskell.org/ghcBuilder/builders/pgj-freebsd-amd64-stable/109.html darcs checkout | Success create mk/build.mk | Success get subrepos | Success repo versions| Success setting v

pgj-freebsd-i386-stable (x86 FreeBSD STABLE), build 92, Success

2010-12-22 Thread Builder
pgj-freebsd-i386-stable (x86 FreeBSD STABLE), build 92 Build succeeded Details: http://darcs.haskell.org/ghcBuilder/builders/pgj-freebsd-i386-stable/92.html darcs checkout | Success create mk/build.mk | Success get subrepos | Success repo versions| Success setting version

[nightly] 22-Dec-2010 build of STABLE on i386-unknown-linux (cam-02-unx)

2010-12-22 Thread GHC Build Reports
Build description = STABLE on i386-unknown-linux (cam-02-unx) Build location= /playpen/simonmar/nightly/STABLE Build config file = /home/simonmar/nightly/site/msrc/conf-STABLE-cam-02-unx Nightly build started on cam-02-unx at Wed Dec 22 18:10:01 GMT 2010. checking out new source tree

pgj2 (amd64 FreeBSD HEAD), build 227, Success

2010-12-22 Thread Builder
pgj2 (amd64 FreeBSD HEAD), build 227 Build succeeded Details: http://darcs.haskell.org/ghcBuilder/builders/pgj2/227.html darcs checkout | Success create mk/build.mk | Success get subrepos | Success repo versions| Success setting version date | Success booting

pgj (x86 FreeBSD HEAD), build 229, Success

2010-12-22 Thread Builder
pgj (x86 FreeBSD HEAD), build 229 Build succeeded Details: http://darcs.haskell.org/ghcBuilder/builders/pgj/229.html darcs checkout | Success create mk/build.mk | Success get subrepos | Success repo versions| Success setting version date | Success booting | Su

tn23 (x86 OSX HEAD), build 220, Success

2010-12-22 Thread Builder
tn23 (x86 OSX HEAD), build 220 Build succeeded Details: http://darcs.haskell.org/ghcBuilder/builders/tn23/220.html darcs checkout | Success create mk/build.mk | Success get subrepos | Success repo versions| Success setting version date | Success booting | Succ

[nightly] 22-Dec-2010 build of HEAD on x86_64-unknown-linux (cam-04-unx)

2010-12-22 Thread GHC Build Reports
Build description = HEAD on x86_64-unknown-linux (cam-04-unx) Build location= /64playpen/simonmar/nightly/HEAD-cam-04-unx Build config file = /home/simonmar/nightly/site/msrc/conf-HEAD-cam-04-unx Nightly build started on cam-04-unx at Wed Dec 22 18:00:01 GMT 2010. checking out new source

simonmar-win32-stable (x86 Windows STABLE), build 128, Failure

2010-12-22 Thread Builder
simonmar-win32-stable (x86 Windows STABLE), build 128 Build failed Details: http://darcs.haskell.org/ghcBuilder/builders/simonmar-win32-stable/128.html darcs checkout | Success create mk/build.mk | Success get subrepos | Success repo versions| Success setting version date

[nightly] 22-Dec-2010 build of STABLE on x86_64-unknown-linux (cam-04-unx)

2010-12-22 Thread GHC Build Reports
Build description = STABLE on x86_64-unknown-linux (cam-04-unx) Build location= /64playpen/simonmar/nightly/STABLE-cam-04-unx Build config file = /home/simonmar/nightly/site/msrc/conf-STABLE-cam-04-unx Nightly build started on cam-04-unx at Wed Dec 22 18:10:01 GMT 2010. checking out new s

kgardas-opensolaris-x86-head (x86 Solaris HEAD), build 89, Success

2010-12-22 Thread Builder
kgardas-opensolaris-x86-head (x86 Solaris HEAD), build 89 Build succeeded Details: http://darcs.haskell.org/ghcBuilder/builders/kgardas-opensolaris-x86-head/89.html darcs checkout | Success create mk/build.mk | Success get subrepos | Success repo versions| Success setting

simonmar-win32-head (x86 Windows HEAD), build 193, Failure

2010-12-22 Thread Builder
simonmar-win32-head (x86 Windows HEAD), build 193 Build failed Details: http://darcs.haskell.org/ghcBuilder/builders/simonmar-win32-head/193.html darcs checkout | Success create mk/build.mk | Success get subrepos | Success repo versions| Success setting version date | Suc

Re: patch applied (ghc): Implement fuzzy matching for the renamer

2010-12-22 Thread Max Bolingbroke
Awesome, thanks :-) Great to see this finally getting in. On 22 December 2010 17:54, Simon Peyton Jones wrote: > Wed Dec 22 09:53:06 PST 2010  simo...@microsoft.com >  * Implement fuzzy matching for the renamer > >  ...so that you get helpful suggestions when you mis-spell a name >  Based on Max

patch applied (testsuite): Add FlexibleInstances

2010-12-22 Thread Simon Peyton Jones
Wed Dec 22 09:55:23 PST 2010 simo...@microsoft.com * Add FlexibleInstances M ./tests/ghc-regress/typecheck/should_run/TcRun025_B.hs -1 +1 M ./tests/ghc-regress/typecheck/should_run/tcrun021.hs -1 +1 M ./tests/ghc-regress/typecheck/should_run/tcrun024.hs -1 +1 View patch online: htt

patch applied (testsuite): Track changes in fuzzy-matching in error messages

2010-12-22 Thread Simon Peyton Jones
Wed Dec 22 09:55:10 PST 2010 simo...@microsoft.com * Track changes in fuzzy-matching in error messages M ./tests/ghc-regress/arrows/should_fail/arrowfail002.stderr -1 +3 M ./tests/ghc-regress/driver/1372/1372.stderr -1 +5 M ./tests/ghc-regress/ghci/prog009/ghci.prog009.stderr -1 +3

patch applied (ghc): Implement fuzzy matching for the Finder

2010-12-22 Thread Simon Peyton Jones
Wed Dec 22 09:54:00 PST 2010 simo...@microsoft.com * Implement fuzzy matching for the Finder ..so that you get a more helpful message when you mis-spell a module name in an 'import'. Validates, but not fully tested. Based on Max's patch in Trac #2442, but heavily refactored.

patch applied (ghc): White space only

2010-12-22 Thread Simon Peyton Jones
Wed Dec 22 09:50:01 PST 2010 simo...@microsoft.com * White space only M ./compiler/coreSyn/CoreUtils.lhs -1 +1 View patch online: http://darcs.haskell.org/cgi-bin/darcsweb.cgi?r=ghc;a=darcs_commitdiff;h=20101222175001-1287e-8c020708e0d4ff48d2ae95c14ecb33737e23de6c.gz _

patch applied (ghc): Implement fuzzy matching for the renamer

2010-12-22 Thread Simon Peyton Jones
Wed Dec 22 09:53:06 PST 2010 simo...@microsoft.com * Implement fuzzy matching for the renamer ...so that you get helpful suggestions when you mis-spell a name Based on Max's patch in Trac #2442, but heavily refactored. M ./compiler/main/DynFlags.hs -1 +4 M ./compiler/rename/RnEnv

patch applied (ghc): Add fuzzyLookup, a variant of fuzzyMatch

2010-12-22 Thread Simon Peyton Jones
Wed Dec 22 09:51:24 PST 2010 simo...@microsoft.com * Add fuzzyLookup, a variant of fuzzyMatch Plus, I changed quite a bit of layout to make the lines shorter. M ./compiler/utils/Util.lhs -33 +70 View patch online: http://darcs.haskell.org/cgi-bin/darcsweb.cgi?r=ghc;a=darcs_commitdiff;

patch applied (ghc): Layout and white space only

2010-12-22 Thread Simon Peyton Jones
Wed Dec 22 09:49:50 PST 2010 simo...@microsoft.com * Layout and white space only M ./compiler/basicTypes/RdrName.lhs -14 +5 View patch online: http://darcs.haskell.org/cgi-bin/darcsweb.cgi?r=ghc;a=darcs_commitdiff;h=20101222174950-1287e-8d2839e7396d2c96ebff3b1f380fa0ef0e699c4f.gz

patch applied (testsuite): mdofail004 now compiles

2010-12-22 Thread Simon Peyton Jones
Wed Dec 22 05:23:07 PST 2010 simo...@microsoft.com * mdofail004 now compiles M ./tests/ghc-regress/mdo/should_fail/all.T -1 +1 M ./tests/ghc-regress/mdo/should_fail/mdofail004.hs -3 +6 M ./tests/ghc-regress/mdo/should_fail/mdofail004.stderr -7 View patch online: http://darcs.haskel

Re: patch applied (ghc): Add a simple arity analyser

2010-12-22 Thread Duncan Coutts
On 22 December 2010 16:07, Simon Peyton-Jones wrote: > I think so, yes.  Give it a whirl Oh, exciting. I was just polishing off my thesis conclusion and the arity analysis is on the list of things I think need doing as future work (along with making stream fusion work properly for concatMap and t

RE: patch applied (ghc): Add a simple arity analyser

2010-12-22 Thread Simon Peyton-Jones
I think so, yes. Give it a whirl Simon | -Original Message- | From: Duncan Coutts [mailto:duncan.cou...@googlemail.com] | Sent: 22 December 2010 16:01 | To: Simon Peyton-Jones | Cc: cvs-ghc@haskell.org | Subject: Re: patch applied (ghc): Add a simple arity analyser | | On 21 December 20

Re: patch applied (ghc): Add a simple arity analyser

2010-12-22 Thread Duncan Coutts
On 21 December 2010 16:58, Simon Peyton Jones wrote: > Tue Dec 21 08:58:00 PST 2010  simo...@microsoft.com >  * Add a simple arity analyser > >  I've wanted to do this for ages, but never gotten around to >  it.  The main notes are in Note [Arity analysis] in SimplUtils. > >  The motivating exampl

patch applied (ghc): Make mkDFunUnfolding more robust

2010-12-22 Thread Simon Peyton Jones
Wed Dec 22 05:08:54 PST 2010 simo...@microsoft.com * Make mkDFunUnfolding more robust It now uses tcSplitDFunTy, which is designed for the purpose and allows arbitrary argument types to the dfun, rather than tcSplitSigmaTy. This generality is used in DPH, which has internally-generat

patch applied (ghc): Tidy up rebindable syntax for MDo

2010-12-22 Thread Simon Peyton Jones
Wed Dec 22 05:22:10 PST 2010 simo...@microsoft.com * Tidy up rebindable syntax for MDo For a long time an 'mdo' expression has had a SyntaxTable attached to it. However, we're busy deprecating SyntaxTables in favour of rebindable syntax attached to individual Stmts, and MDoExpr was t

patch applied (ghc): Make the occurrence analyser track preInlineUnconditionally

2010-12-22 Thread Simon Peyton Jones
Wed Dec 22 05:11:56 PST 2010 simo...@microsoft.com * Make the occurrence analyser track preInlineUnconditionally This fixes a somewhat obscure situation in which an over-optimistic use of "occurs once" led to an infinite sequence of simplifier iterations. Se Note [Cascading inlines]

Conflict

2010-12-22 Thread Simon Peyton-Jones
I accidentally committed a pair of patches last night that was a conflict. (I didn't know that I had an old (Nov 1) un-pushed patch in my tree, so I thought the conflict bleat referred only to my working tree. So I ended up with two patches, below, instead of one.) This is annoying but since

patch applied (testsuite): add an old ForeignPtr stress test I found in my tree

2010-12-22 Thread Simon Marlow
Wed Dec 22 01:36:00 PST 2010 Simon Marlow * add an old ForeignPtr stress test I found in my tree M ./tests/ghc-regress/ffi/should_run/all.T +1 A ./tests/ghc-regress/ffi/should_run/fptr02.hs View patch online: http://darcs.haskell.org/cgi-bin/darcsweb.cgi?r=testsuite;a=darcs_commitdiff

patch applied (testsuite): add test for #3837

2010-12-22 Thread Simon Marlow
Wed Dec 22 01:14:39 PST 2010 Simon Marlow * add test for #3837 A ./tests/ghc-regress/hsc2hs/3837.hsc M ./tests/ghc-regress/hsc2hs/Makefile -2 +6 M ./tests/ghc-regress/hsc2hs/all.T +7 View patch online: http://darcs.haskell.org/cgi-bin/darcsweb.cgi?r=testsuite;a=darcs_commitdiff;h=

patch applied (testsuite): Update bytes allocated for T3738

2010-12-22 Thread Simon Marlow
Wed Dec 22 00:38:09 PST 2010 Simon Marlow * Update bytes allocated for T3738 RTS was changed to calculate allocations more accurately M ./tests/ghc-regress/perf/should_run/all.T -3 +3 View patch online: http://darcs.haskell.org/cgi-bin/darcsweb.cgi?r=testsuite;a=darcs_commitdiff;h=20101

patch applied (testsuite): Update bytes allocated for space_leak_001

2010-12-22 Thread Simon Marlow
Wed Dec 22 00:37:39 PST 2010 Simon Marlow * Update bytes allocated for space_leak_001 RTS was changed to calculate allocations more accurately M ./tests/ghc-regress/perf/space_leaks/all.T -3 +3 View patch online: http://darcs.haskell.org/cgi-bin/darcsweb.cgi?r=testsuite;a=darcs_commitdi

patch applied (ghc): Count allocations more accurately

2010-12-22 Thread Simon Marlow
Tue Dec 21 07:29:56 PST 2010 Simon Marlow * Count allocations more accurately The allocation stats (+RTS -s etc.) used to count the slop at the end of each nursery block (except the last) as allocated space, now we count the allocated words accurately. This should make allocation figur