ghc-hetmet.git
13 years agoFix gcc wrapper for new mingw binaries
Ian Lynagh [Sun, 5 Sep 2010 00:18:07 +0000 (00:18 +0000)]
Fix gcc wrapper for new mingw binaries

13 years agoDon't pass our gcc options to stage0 ghc's gcc; they may not be suitable
Ian Lynagh [Sun, 5 Sep 2010 10:31:29 +0000 (10:31 +0000)]
Don't pass our gcc options to stage0 ghc's gcc; they may not be suitable

13 years agoUpdate intree-mingw creation
Ian Lynagh [Sat, 4 Sep 2010 22:55:59 +0000 (22:55 +0000)]
Update intree-mingw creation

13 years agoUpdate commands to build in-tree mingw
Ian Lynagh [Sat, 4 Sep 2010 21:51:12 +0000 (21:51 +0000)]
Update commands to build in-tree mingw

13 years agoBreak out hoisting utils into their own module
benl@ouroborus.net [Wed, 8 Sep 2010 07:41:02 +0000 (07:41 +0000)]
Break out hoisting utils into their own module

13 years agoBreak out closure utils into own module
benl@ouroborus.net [Wed, 8 Sep 2010 07:20:40 +0000 (07:20 +0000)]
Break out closure utils into own module

13 years agoMove VectVar module to Vectorise tree
benl@ouroborus.net [Wed, 8 Sep 2010 06:59:04 +0000 (06:59 +0000)]
Move VectVar module to Vectorise tree

13 years agoBreak out vectorisation of expressions into own module
benl@ouroborus.net [Wed, 8 Sep 2010 06:51:28 +0000 (06:51 +0000)]
Break out vectorisation of expressions into own module

13 years agoBreak out TyCon classifier into own module
benl@ouroborus.net [Wed, 8 Sep 2010 06:31:11 +0000 (06:31 +0000)]
Break out TyCon classifier into own module

13 years agoBreak out vectorisation of TyConDecls into own module
benl@ouroborus.net [Wed, 8 Sep 2010 05:20:04 +0000 (05:20 +0000)]
Break out vectorisation of TyConDecls into own module

13 years agoBreak out type vectorisation into own module
benl@ouroborus.net [Tue, 7 Sep 2010 11:03:11 +0000 (11:03 +0000)]
Break out type vectorisation into own module

13 years agoTidy up the ArchHasAdjustorSupport definition
Ian Lynagh [Sat, 4 Sep 2010 14:42:34 +0000 (14:42 +0000)]
Tidy up the ArchHasAdjustorSupport definition

13 years agoppc: switch handling of 'foreign import wrapper' (FIW) to libffi
Sergei Trofimovich [Sun, 29 Aug 2010 19:28:59 +0000 (19:28 +0000)]
ppc: switch handling of 'foreign import wrapper' (FIW) to libffi

Joseph Jezak reported darcs-2.4.4 SIGSEGV in interactive mode in ghc-6.12.3.
So I've concluded ppc also has rotten native adjustor. I don't have hardware
to verify the patch (ticket #3516 should help to test it), but I think it will
help (as similar patch helped for ia64 and ppc64).

13 years agoBinary no longer has unusable UNPACK pragmas, so no need to turn of -Werror
Ian Lynagh [Sat, 4 Sep 2010 13:33:39 +0000 (13:33 +0000)]
Binary no longer has unusable UNPACK pragmas, so no need to turn of -Werror

13 years agoDon't haddock packages that we aren't going to install
Ian Lynagh [Fri, 3 Sep 2010 23:19:21 +0000 (23:19 +0000)]
Don't haddock packages that we aren't going to install

13 years agoGive haddock per-package source entity paths; fixes #3810
Ian Lynagh [Fri, 3 Sep 2010 22:13:35 +0000 (22:13 +0000)]
Give haddock per-package source entity paths; fixes #3810

13 years agoupdate for containers-0.4
Simon Marlow [Fri, 3 Sep 2010 10:51:31 +0000 (10:51 +0000)]
update for containers-0.4

13 years agoFix for nursery resizing: the first block's back pointer should be NULL
Simon Marlow [Fri, 27 Aug 2010 10:28:18 +0000 (10:28 +0000)]
Fix for nursery resizing: the first block's back pointer should be NULL
I'm not sure if this could lead to a crash or not, but it upsets +RTS -DS
Might be related to #4265

13 years agoAdd some -no-user-package-conf flags
Ian Lynagh [Thu, 2 Sep 2010 22:47:26 +0000 (22:47 +0000)]
Add some -no-user-package-conf flags
Stops user-installed packages breaking the build

13 years agoFix warnings: Remove unused imports
Ian Lynagh [Thu, 2 Sep 2010 20:43:42 +0000 (20:43 +0000)]
Fix warnings: Remove unused imports

13 years agoFinish breaking up VectBuiltIn and VectMonad, and add comments
benl@ouroborus.net [Tue, 31 Aug 2010 10:07:24 +0000 (10:07 +0000)]
Finish breaking up VectBuiltIn and VectMonad, and add comments

13 years agoFix warnings
benl@ouroborus.net [Mon, 30 Aug 2010 08:37:46 +0000 (08:37 +0000)]
Fix warnings

13 years agoBreak up vectoriser builtins module
benl@ouroborus.net [Mon, 30 Aug 2010 07:09:00 +0000 (07:09 +0000)]
Break up vectoriser builtins module

13 years agoMove VectCore to Vectorise tree
benl@ouroborus.net [Mon, 30 Aug 2010 05:34:15 +0000 (05:34 +0000)]
Move VectCore to Vectorise tree

13 years agoSplit out vectoriser environments into own module
benl@ouroborus.net [Mon, 30 Aug 2010 05:02:52 +0000 (05:02 +0000)]
Split out vectoriser environments into own module

13 years agoComments and formatting to vectoriser, and split out varish stuff into own module
benl@ouroborus.net [Mon, 30 Aug 2010 04:27:22 +0000 (04:27 +0000)]
Comments and formatting to vectoriser, and split out varish stuff into own module

13 years agoFix warnings
benl@ouroborus.net [Mon, 30 Aug 2010 04:03:40 +0000 (04:03 +0000)]
Fix warnings

13 years agoFix warning about multiply exported name
benl@ouroborus.net [Mon, 30 Aug 2010 03:52:43 +0000 (03:52 +0000)]
Fix warning about multiply exported name

13 years agoVectorisation of method types
benl@ouroborus.net [Mon, 30 Aug 2010 03:29:41 +0000 (03:29 +0000)]
Vectorisation of method types

13 years agoComments and formatting to vectoriser
benl@ouroborus.net [Mon, 30 Aug 2010 03:25:16 +0000 (03:25 +0000)]
Comments and formatting to vectoriser

13 years agoImplement -dsuppress-module-prefixes
benl@ouroborus.net [Mon, 30 Aug 2010 03:24:28 +0000 (03:24 +0000)]
Implement -dsuppress-module-prefixes

13 years agoWhitespace only
benl@ouroborus.net [Thu, 27 May 2010 04:56:29 +0000 (04:56 +0000)]
Whitespace only

13 years agoDisambiguate a function name
Ian Lynagh [Sat, 28 Aug 2010 22:58:27 +0000 (22:58 +0000)]
Disambiguate a function name

13 years agousers_guide.xml is now generated
Ian Lynagh [Sat, 28 Aug 2010 22:57:51 +0000 (22:57 +0000)]
users_guide.xml is now generated

13 years agoPass more -pgm flags in the ghc wrapper; fixes #3863
Ian Lynagh [Fri, 27 Aug 2010 20:45:37 +0000 (20:45 +0000)]
Pass more -pgm flags in the ghc wrapper; fixes #3863

13 years agoAdd a new-IO manager release note
Ian Lynagh [Fri, 27 Aug 2010 17:16:16 +0000 (17:16 +0000)]
Add a new-IO manager release note

13 years agoMerge a duplicate release note
Ian Lynagh [Fri, 27 Aug 2010 17:15:11 +0000 (17:15 +0000)]
Merge a duplicate release note

13 years agoTypo, spotted by Johan Tibell
Ian Lynagh [Fri, 27 Aug 2010 15:39:14 +0000 (15:39 +0000)]
Typo, spotted by Johan Tibell

13 years agoFirst pass at 6.14.1 release notes
Ian Lynagh [Thu, 26 Aug 2010 22:08:11 +0000 (22:08 +0000)]
First pass at 6.14.1 release notes

13 years agoFix typo
Ian Lynagh [Tue, 24 Aug 2010 20:13:30 +0000 (20:13 +0000)]
Fix typo

13 years agoFIX BUILD: add rts_isProfiled to the symbol table
Simon Marlow [Thu, 26 Aug 2010 09:43:19 +0000 (09:43 +0000)]
FIX BUILD: add rts_isProfiled to the symbol table

13 years agoFix the DPH package cleaning/profiled mess even more (the build was broken)
Simon Marlow [Thu, 26 Aug 2010 08:44:36 +0000 (08:44 +0000)]
Fix the DPH package cleaning/profiled mess even more (the build was broken)

13 years agoRemove the debugging memory allocator - valgrind does a better job
Simon Marlow [Tue, 24 Aug 2010 11:35:37 +0000 (11:35 +0000)]
Remove the debugging memory allocator - valgrind does a better job

I got fed up with the constant bogus output from the debugging memory
allocator in RtsUtils.c.  One problem is that we allocate memory in
constructors that then isn't tracked, because the debugging allocator
hasn't been initialised yet.

The bigger problem is that for a given piece of leaking memory it's
impossible to find out where it was allocated; however Valgrind gives
output like this:

==6967== 8 bytes in 1 blocks are still reachable in loss record 1 of 7
==6967==    at 0x4C284A8: malloc (vg_replace_malloc.c:236)
==6967==    by 0x4C28522: realloc (vg_replace_malloc.c:525)
==6967==    by 0x6745E9: stgReallocBytes (RtsUtils.c:213)
==6967==    by 0x68D812: setHeapAlloced (MBlock.c:91)
==6967==    by 0x68D8E2: markHeapAlloced (MBlock.c:116)
==6967==    by 0x68DB56: getMBlocks (MBlock.c:240)
==6967==    by 0x684F55: alloc_mega_group (BlockAlloc.c:305)
==6967==    by 0x6850C8: allocGroup (BlockAlloc.c:358)
==6967==    by 0x69484F: allocNursery (Storage.c:390)
==6967==    by 0x694ABD: allocNurseries (Storage.c:436)
==6967==    by 0x6944F2: initStorage (Storage.c:217)
==6967==    by 0x673E3C: hs_init (RtsStartup.c:160)

which tells us exactly what the leaking bit of memory is.  So I don't
think we need our own debugging allocator.

13 years agofree the entries in the thread label table on exit
Simon Marlow [Tue, 24 Aug 2010 11:26:06 +0000 (11:26 +0000)]
free the entries in the thread label table on exit

13 years agoPanic in the right way
simonpj@microsoft.com [Wed, 25 Aug 2010 09:16:14 +0000 (09:16 +0000)]
Panic in the right way

13 years agoFix the DPH/profiled make thing (again)
simonpj@microsoft.com [Wed, 25 Aug 2010 09:16:02 +0000 (09:16 +0000)]
Fix the DPH/profiled make thing (again)

13 years agoDon't test for gcc flags before we've found gcc
Ian Lynagh [Tue, 24 Aug 2010 13:14:01 +0000 (13:14 +0000)]
Don't test for gcc flags before we've found gcc

13 years agoChange how the dblatex/lndir problem is worked around
Ian Lynagh [Tue, 24 Aug 2010 13:09:38 +0000 (13:09 +0000)]
Change how the dblatex/lndir problem is worked around
Hack: dblatex normalises the name of the main input file using
os.path.realpath, which means that if we're in a linked build tree,
it find the real source files rather than the symlinks in our link
tree. This is fine for the static sources, but it means it can't
find the generated sources.

We therefore also generate the main input file, so that it really
is in the link tree, and thus dblatex can find everything.

13 years agoClean the generated userguide sources
Ian Lynagh [Tue, 24 Aug 2010 10:58:27 +0000 (10:58 +0000)]
Clean the generated userguide sources

13 years agoDPH should not even be built if GhcProfiled
simonpj@microsoft.com [Mon, 23 Aug 2010 13:34:39 +0000 (13:34 +0000)]
DPH should not even be built if GhcProfiled

It's not just when cleaning!

13 years agoThe templateHaskellOk check should only run in stage2
simonpj@microsoft.com [Mon, 23 Aug 2010 13:33:53 +0000 (13:33 +0000)]
The templateHaskellOk check should only run in stage2

Because rtsIsProfiled is only available in stage2

13 years agoAdd a couple of missing tests for EAGER_BLACKHOLE
Simon Marlow [Mon, 23 Aug 2010 10:46:54 +0000 (10:46 +0000)]
Add a couple of missing tests for EAGER_BLACKHOLE
This was leading to looping and excessive allocation, when the
computation should have just blocked on the black hole.

Reported by Christian Höner zu Siederdissen <choener@tbi.univie.ac.at>
on glasgow-haskell-users.

13 years agoDon't check for swept blocks in -DS.
Marco Túlio Gontijo e Silva [Sun, 18 Jul 2010 22:55:26 +0000 (22:55 +0000)]
Don't check for swept blocks in -DS.

The checkHeap function assumed the allocated part of the block contained only
alive objects and slops.  This was not true for blocks that are collected using
mark sweep.  The code in this patch skip the test for this kind of blocks.

13 years agoFix "darcs get"
Ian Lynagh [Sun, 22 Aug 2010 18:35:42 +0000 (18:35 +0000)]
Fix "darcs get"

13 years agoAdd "darcs-all upstreampull"
Ian Lynagh [Sun, 22 Aug 2010 16:34:19 +0000 (16:34 +0000)]
Add "darcs-all upstreampull"
This pulls from the upstream repos, for those packages which have
upstreams

13 years agoGenerate the bit in the user guide where we say what -fglasgow-exts does
Ian Lynagh [Sun, 22 Aug 2010 15:55:14 +0000 (15:55 +0000)]
Generate the bit in the user guide where we say what -fglasgow-exts does
Stops the docs going out of sync with the code.

13 years agoFactor out the packages file parsing in darcs-all
Ian Lynagh [Sun, 22 Aug 2010 15:48:13 +0000 (15:48 +0000)]
Factor out the packages file parsing in darcs-all

13 years agoDocument --supported-extensions
Ian Lynagh [Sun, 22 Aug 2010 13:45:30 +0000 (13:45 +0000)]
Document --supported-extensions

13 years agofix extraction of command stack of arguments of arrow "forms" (fixes #4236)
Ross Paterson [Sun, 22 Aug 2010 09:00:22 +0000 (09:00 +0000)]
fix extraction of command stack of arguments of arrow "forms" (fixes #4236)

The command stack was being extracted (by unscramble) with the outermost
type first, contrary to the comment on the function.

13 years agominor fix to comment
Ross Paterson [Sun, 22 Aug 2010 08:58:38 +0000 (08:58 +0000)]
minor fix to comment

13 years agoAdd the RTS library path to the library search path
Ian Lynagh [Fri, 20 Aug 2010 15:55:23 +0000 (15:55 +0000)]
Add the RTS library path to the library search path
In case the RTS is being explicitly linked in. For #3807.

13 years agoRemove some duplication of C flags
Ian Lynagh [Thu, 19 Aug 2010 23:37:43 +0000 (23:37 +0000)]
Remove some duplication of C flags
We now use the CONF_CC_OPTS_STAGEn C flags in machdepCCOpts, rather than
repeating them there.

13 years agoSet -fno-stack-protector in CONF_CC_OPTS_STAGE* rathre than extra-gcc-opts
Ian Lynagh [Thu, 19 Aug 2010 23:30:31 +0000 (23:30 +0000)]
Set -fno-stack-protector in CONF_CC_OPTS_STAGE* rathre than extra-gcc-opts
The latter is only used when compiling .hc files, whereas we need it for
.c files too.

13 years agoGive clearer errors for bad input in the packages file; suggested by pejo
Ian Lynagh [Thu, 19 Aug 2010 23:24:20 +0000 (23:24 +0000)]
Give clearer errors for bad input in the packages file; suggested by pejo

13 years agoSet -march=i686 on OS X x86 in the configure variables
Ian Lynagh [Thu, 19 Aug 2010 23:09:39 +0000 (23:09 +0000)]
Set -march=i686 on OS X x86 in the configure variables
We used to set it only in machdepCCOpts, so this is more consistent

13 years agoGive each stage its own Config.hs
Ian Lynagh [Thu, 19 Aug 2010 22:47:09 +0000 (22:47 +0000)]
Give each stage its own Config.hs
This also means the file is generated in a dist directory, not a
source directory.

13 years agoFix cleaning when GhcProfiled = YES
Ian Lynagh [Thu, 19 Aug 2010 13:13:46 +0000 (13:13 +0000)]
Fix cleaning when GhcProfiled = YES
We need to include the DPH cleaning rules, even though we don't build DPH
when GhcProfiled = YES.

13 years agostgReallocBytes(DEBUG): don't fail when the ptr passed in is NULL
Simon Marlow [Tue, 17 Aug 2010 15:08:36 +0000 (15:08 +0000)]
stgReallocBytes(DEBUG): don't fail when the ptr passed in is NULL

13 years agoUse make-command in rules/bindist.mk
Ian Lynagh [Wed, 18 Aug 2010 19:12:43 +0000 (19:12 +0000)]
Use make-command in rules/bindist.mk
Rather than it having its own specialised version

13 years agoUse make-command when installing packages
Ian Lynagh [Wed, 18 Aug 2010 19:06:00 +0000 (19:06 +0000)]
Use make-command when installing packages

13 years agoAdd _DATA_FILES to package-data.mk files
Ian Lynagh [Wed, 18 Aug 2010 18:58:01 +0000 (18:58 +0000)]
Add _DATA_FILES to package-data.mk files

13 years agoAdd a "make-command" utility Makefile function
Ian Lynagh [Wed, 18 Aug 2010 18:30:55 +0000 (18:30 +0000)]
Add a "make-command" utility Makefile function

13 years agoLLVM: Nicer format for lack of shared lib warning
David Terei [Tue, 17 Aug 2010 14:52:07 +0000 (14:52 +0000)]
LLVM: Nicer format for lack of shared lib warning

13 years agofix FP_CHECK_ALIGNMENT for autoconf 2.66 (fixes #4252)
Ross Paterson [Mon, 16 Aug 2010 14:24:42 +0000 (14:24 +0000)]
fix FP_CHECK_ALIGNMENT for autoconf 2.66 (fixes #4252)

Recent versions of AS_LITERAL_IF don't like *'s.  Fix from

http://blog.gmane.org/gmane.comp.sysutils.autoconf.general/month=20100701

13 years agoRefactor the command-line argument parsing (again)
simonpj@microsoft.com [Mon, 16 Aug 2010 07:44:53 +0000 (07:44 +0000)]
Refactor the command-line argument parsing (again)

This change allows the client of CmdLineParser a bit more flexibility,
by giving him an arbitrary computation (not just a deprecation
message) for each flag.

There are several clients, so there are lots of boilerplate changes.

Immediate motivation: if RTS is not profiled, we want to make
Template Haskell illegal.  That wasn't with the old setup.

13 years agoAdd upstream repo to the packages file
Ian Lynagh [Sun, 15 Aug 2010 15:47:41 +0000 (15:47 +0000)]
Add upstream repo to the packages file

13 years agoMake the "tag" column of the packages file always present
Ian Lynagh [Sun, 15 Aug 2010 15:16:57 +0000 (15:16 +0000)]
Make the "tag" column of the packages file always present
It makes the parsing simpler if we always have the same number of columns

13 years agoDisable object splitting on OSX; works around #4013
Ian Lynagh [Sun, 15 Aug 2010 13:47:59 +0000 (13:47 +0000)]
Disable object splitting on OSX; works around #4013

13 years agoReturn memory to the OS; trac #698
Ian Lynagh [Fri, 13 Aug 2010 17:04:02 +0000 (17:04 +0000)]
Return memory to the OS; trac #698

13 years agoReduce the xargs -s value we use on Windows
Ian Lynagh [Thu, 12 Aug 2010 22:37:21 +0000 (22:37 +0000)]
Reduce the xargs -s value we use on Windows
With 30000 I was getting:
    xargs: value for -s option should be < 28153

13 years agoLLVM: Enable shared lib support on Linux x64
David Terei [Fri, 13 Aug 2010 19:15:34 +0000 (19:15 +0000)]
LLVM: Enable shared lib support on Linux x64

13 years agoRe-do the arity calculation mechanism again (fix Trac #3959)
simonpj@microsoft.com [Fri, 13 Aug 2010 16:11:51 +0000 (16:11 +0000)]
Re-do the arity calculation mechanism again (fix Trac #3959)

After rumination, yet again, on the subject of arity calculation,
I have redone what an ArityType is (it's purely internal to the
CoreArity module), and documented it better.  The result should
fix #3959, and I hope the related #3961, #3983.

There is lots of new documentation: in particular
 * Note [ArityType]
   describes the new datatype for arity info

 * Note [State hack and bottoming functions]
   says how bottoming functions are dealt with, particularly
   covering catch# and Trac #3959

I also found I had to be careful not to eta-expand single-method
class constructors; see Note [Newtype classes and eta expansion].
I think this part could be done better, but it works ok.

13 years agoComments only
simonpj@microsoft.com [Fri, 13 Aug 2010 16:10:19 +0000 (16:10 +0000)]
Comments only

13 years agoModify FloatOut to fix Trac #4237
simonpj@microsoft.com [Fri, 13 Aug 2010 16:31:20 +0000 (16:31 +0000)]
Modify FloatOut to fix Trac #4237

The problem was that a strict binding was getting floated
out into a letrec. This only happened when profiling was
on.  It exposed a fragility in the floating strategy.  This
patch makes it more robust.  See
      Note [Avoiding unnecessary floating]

13 years agoFix egregious bug in SetLevels.notWorthFloating
simonpj@microsoft.com [Fri, 13 Aug 2010 16:14:29 +0000 (16:14 +0000)]
Fix egregious bug in SetLevels.notWorthFloating

This bug just led to stupid code, which would
later be optimised away, but better not to generate
stupid code in the first place.

13 years agoDelete GhcLibProfiled
simonpj@microsoft.com [Fri, 13 Aug 2010 14:01:52 +0000 (14:01 +0000)]
Delete GhcLibProfiled

Simon M and I looked at this, and we think GhcLibProfiled is
(a) not needed (b) confusing.

Ian should review.

Really, if GhcProfiled is on we should also
check that 'p' is in the GhcLibWays

13 years agoDo not build DPH when GhcProfiled (fixes #4172)
simonpj@microsoft.com [Fri, 13 Aug 2010 14:00:21 +0000 (14:00 +0000)]
Do not build DPH when GhcProfiled (fixes #4172)

Reason: DPH uses Template Haskell and TH doesn't work
in a profiled compiler

13 years agoFix Trac #4220
simonpj@microsoft.com [Thu, 12 Aug 2010 13:13:19 +0000 (13:13 +0000)]
Fix Trac #4220

For deriving Functor, Foldable, Traversable with empty
data cons I just generate a null equation
   f _ = error "urk"

There are probably more lurking (eg Enum) but this will do for now.

13 years agoImprove the Specialiser, fixing Trac #4203
simonpj@microsoft.com [Thu, 12 Aug 2010 13:11:33 +0000 (13:11 +0000)]
Improve the Specialiser, fixing Trac #4203

Simply fixing #4203 is a tiny fix: in case alterantives we should
do dumpUDs *including* the case binder.

But I realised that we can do better and wasted far too much time
implementing the idea.  It's described in
    Note [Floating dictionaries out of cases]

13 years agoComments
simonpj@microsoft.com [Thu, 12 Aug 2010 10:14:56 +0000 (10:14 +0000)]
Comments

13 years agoComments only
simonpj@microsoft.com [Thu, 12 Aug 2010 10:14:39 +0000 (10:14 +0000)]
Comments only

13 years agoFix bug in linting of shadowed case-alternative binders
simonpj@microsoft.com [Thu, 12 Aug 2010 10:14:13 +0000 (10:14 +0000)]
Fix bug in linting of shadowed case-alternative binders

13 years agoComments and spacing only
simonpj@microsoft.com [Thu, 12 Aug 2010 10:13:47 +0000 (10:13 +0000)]
Comments and spacing only

13 years agoAdd more info to more parse error messages (#3811)
Ian Lynagh [Mon, 9 Aug 2010 23:31:08 +0000 (23:31 +0000)]
Add more info to more parse error messages (#3811)

13 years agoRun finalizers *after* updating the stable pointer table (#4221)
Simon Marlow [Tue, 10 Aug 2010 13:37:39 +0000 (13:37 +0000)]
Run finalizers *after* updating the stable pointer table (#4221)
Silly bug really, we were running the C finalizers while the StablePtr
table was still in a partially-updated state during GC, but finalizers
are allowed to call freeStablePtr() (via hs_free_fun_ptr(), for
example), and chaos ensues.

13 years agoDo the dependency-omitting for 'make 1' in a slightly different way
Simon Marlow [Tue, 10 Aug 2010 09:34:46 +0000 (09:34 +0000)]
Do the dependency-omitting for 'make 1' in a slightly different way

I encountered a couple of things that broke after Ian's previous
patch: one was my nightly build scripts that use 'make stage=2' at the
top level, and the other is 'make fast' in libraries/base, which uses
'stage=0' to avoid building any compilers.

So my version of this patch is more direct: it just turns off the
appropriate dependencies using a variable set by 'make 1', 'make 2',
etc.

13 years agoIntegrate new I/O manager, with signal support
Johan Tibell [Sat, 24 Jul 2010 10:23:55 +0000 (10:23 +0000)]
Integrate new I/O manager, with signal support

13 years agoAdd DoAndIfThenElse support
Ian Lynagh [Sun, 8 Aug 2010 19:46:25 +0000 (19:46 +0000)]
Add DoAndIfThenElse support

13 years agoMake another parse error more informative
Ian Lynagh [Sun, 8 Aug 2010 19:33:40 +0000 (19:33 +0000)]
Make another parse error more informative

13 years agoMake a parse error say what it is failing to parse; part of #3811
Ian Lynagh [Sun, 8 Aug 2010 15:57:32 +0000 (15:57 +0000)]
Make a parse error say what it is failing to parse; part of #3811