ghc-hetmet.git
16 years agoFix CodingStyle#Warnings URLs
Ian Lynagh [Tue, 4 Sep 2007 14:01:15 +0000 (14:01 +0000)]
Fix CodingStyle#Warnings URLs

16 years agoOPTIONS_GHC overrides the command-line, not the other way around
Simon Marlow [Tue, 4 Sep 2007 10:06:23 +0000 (10:06 +0000)]
OPTIONS_GHC overrides the command-line, not the other way around

16 years agofix cut-and-pasto
Simon Marlow [Tue, 4 Sep 2007 10:05:26 +0000 (10:05 +0000)]
fix cut-and-pasto

16 years agoFIX #1651: unBox types when deferring unification
Manuel M T Chakravarty [Tue, 4 Sep 2007 07:25:42 +0000 (07:25 +0000)]
FIX #1651: unBox types when deferring unification
- This fixes the first part of #1651; ie, the panic in ghci.

16 years agoBetter error message for unsolvable equalities
Manuel M T Chakravarty [Mon, 3 Sep 2007 07:45:28 +0000 (07:45 +0000)]
Better error message for unsolvable equalities

16 years agoUse := rather than = when assigning make variables to avoid cycles
Ian Lynagh [Mon, 3 Sep 2007 23:51:17 +0000 (23:51 +0000)]
Use := rather than = when assigning make variables to avoid cycles

16 years agoDon't use autoconf's datarootdir as <2.60 doesn't have it
Ian Lynagh [Mon, 3 Sep 2007 23:45:04 +0000 (23:45 +0000)]
Don't use autoconf's datarootdir as <2.60 doesn't have it

16 years agoUse OPTIONS rather than OPTIONS_GHC for pragmas
Ian Lynagh [Mon, 3 Sep 2007 23:39:03 +0000 (23:39 +0000)]
Use OPTIONS rather than OPTIONS_GHC for pragmas
Older GHCs can't parse OPTIONS_GHC.
This also changes the URL referenced for the -w options from
WorkingConventions#Warnings to CodingStyle#Warnings for the compiler
modules.

16 years agoFix building RTS with gcc 2.*; declare all variables at the top of a block
Ian Lynagh [Mon, 3 Sep 2007 16:58:47 +0000 (16:58 +0000)]
Fix building RTS with gcc 2.*; declare all variables at the top of a block
Patch from Audrey Tang.

16 years agofix build (sorry, forgot to push with previous patch)
Simon Marlow [Mon, 3 Sep 2007 20:06:15 +0000 (20:06 +0000)]
fix build (sorry, forgot to push with previous patch)

16 years agoremove debugging code
Simon Marlow [Mon, 3 Sep 2007 20:00:03 +0000 (20:00 +0000)]
remove debugging code

16 years agoNCG space leak avoidance refactor
Ben.Lippmeier@anu.edu.au [Mon, 3 Sep 2007 13:22:54 +0000 (13:22 +0000)]
NCG space leak avoidance refactor

16 years agoDo aggressive register coalescing
Ben.Lippmeier@anu.edu.au [Mon, 3 Sep 2007 11:51:49 +0000 (11:51 +0000)]
Do aggressive register coalescing
Conservative and iterative coalescing come next.

16 years agoAdd coalescence edges back to the register graph
Ben.Lippmeier@anu.edu.au [Tue, 28 Aug 2007 14:44:24 +0000 (14:44 +0000)]
Add coalescence edges back to the register graph

16 years agoFIX #1623: disable the timer signal when the system is idle (threaded RTS only)
Simon Marlow [Mon, 3 Sep 2007 13:25:23 +0000 (13:25 +0000)]
FIX #1623: disable the timer signal when the system is idle (threaded RTS only)
Having a timer signal go off regularly is bad for power consumption,
and generally bad practice anyway (it means the app cannot be
completely swapped out, for example).  Fortunately the threaded RTS
already had a way to detect when the system was idle, so that it can
trigger a GC and thereby find deadlocks.  After performing the GC, we
now turn off timer signals, and re-enable them again just before
running any Haskell code.

16 years agoFIX #1648: rts_mkWord64 was missing
Simon Marlow [Mon, 3 Sep 2007 13:16:25 +0000 (13:16 +0000)]
FIX #1648: rts_mkWord64 was missing
Also noticed a few others from RtsAPI were missing, so I added them all

16 years agoFIX for #1080
Ross Paterson [Mon, 3 Sep 2007 14:10:44 +0000 (14:10 +0000)]
FIX for #1080

Arrow desugaring now uses a private version of collectPatBinders and
friends, in order to include dictionary bindings from ConPatOut.

It doesn't fix arrowrun004 (#1333), though.

16 years agoFix space leak in NCG
Ben.Lippmeier@anu.edu.au [Fri, 31 Aug 2007 09:04:31 +0000 (09:04 +0000)]
Fix space leak in NCG

16 years agoGhcThreaded was bogusly off by default due to things being in the wrong order
Simon Marlow [Mon, 3 Sep 2007 10:38:29 +0000 (10:38 +0000)]
GhcThreaded was bogusly off by default due to things being in the wrong order

16 years agobump MAX_THUNK_SELECTOR_DEPTH from 8 to 16
Simon Marlow [Mon, 3 Sep 2007 10:19:12 +0000 (10:19 +0000)]
bump MAX_THUNK_SELECTOR_DEPTH from 8 to 16
this "fixes" #1038, in that the example runs in constant space, but
it's really only working around the problem.  I have a better patch,
attached to ticket #1038, but I'm wary about tinkering with this
notorious bug farm so close to the release, so I'll push it after
6.8.1.

16 years agocomments only
Simon Marlow [Fri, 31 Aug 2007 09:22:24 +0000 (09:22 +0000)]
comments only
I had planned to do findEnclosingDecl a different way, so add a ToDo
as a reminder.

16 years agoSuppress some warnings on Windows
Ian Lynagh [Sun, 2 Sep 2007 22:20:48 +0000 (22:20 +0000)]
Suppress some warnings on Windows

16 years agoFix warnings in ghc-pkg on Windows
Ian Lynagh [Sun, 2 Sep 2007 22:14:42 +0000 (22:14 +0000)]
Fix warnings in ghc-pkg on Windows

16 years agoFix and supress some warnings, and turn on -Werror when validating
Ian Lynagh [Sun, 2 Sep 2007 19:39:18 +0000 (19:39 +0000)]
Fix and supress some warnings, and turn on -Werror when validating

16 years agoExplicitly set "docdir" when calling make, configure's --docdir seems to be ignored
sven.panne@aedion.de [Sun, 2 Sep 2007 16:43:42 +0000 (16:43 +0000)]
Explicitly set "docdir" when calling make, configure's --docdir seems to be ignored

16 years agoUse DESTDIR for installation
sven.panne@aedion.de [Sat, 1 Sep 2007 17:51:24 +0000 (17:51 +0000)]
Use DESTDIR for installation

16 years agoFixed TeX syntax
sven.panne@aedion.de [Sat, 1 Sep 2007 12:46:15 +0000 (12:46 +0000)]
Fixed TeX syntax

16 years agoSet -Wall -fno-warn-name-shadowing in compiler/ when stage /= 2
Ian Lynagh [Sat, 1 Sep 2007 11:30:18 +0000 (11:30 +0000)]
Set -Wall -fno-warn-name-shadowing in compiler/ when stage /= 2

16 years agoAdd {-# OPTIONS_GHC -w #-} and some blurb to all compiler modules
Ian Lynagh [Sat, 1 Sep 2007 11:21:30 +0000 (11:21 +0000)]
Add {-# OPTIONS_GHC -w #-} and some blurb to all compiler modules

16 years agoAdd a --print-docdir flag
Ian Lynagh [Fri, 31 Aug 2007 23:15:38 +0000 (23:15 +0000)]
Add a --print-docdir flag

16 years agoFollow Cabal module movements in installPackage
Ian Lynagh [Fri, 31 Aug 2007 18:13:59 +0000 (18:13 +0000)]
Follow Cabal module movements in installPackage

16 years agoFollow Cabal's move Distribution.Program -> Distribution.Simple.Program
Ian Lynagh [Fri, 31 Aug 2007 17:52:17 +0000 (17:52 +0000)]
Follow Cabal's move Distribution.Program -> Distribution.Simple.Program

16 years agoDon't use the --docdir etc that autoconf provides
Ian Lynagh [Fri, 31 Aug 2007 17:39:03 +0000 (17:39 +0000)]
Don't use the --docdir etc that autoconf provides
Older autoconfs (<2.60?) don't understand them.

16 years agoDon't try to copy haddock index files if we haven't built the docs.
judah.jacobson@gmail.com [Fri, 31 Aug 2007 05:03:21 +0000 (05:03 +0000)]
Don't try to copy haddock index files if we haven't built the docs.

M ./libraries/Makefile +2

16 years agoUse cp -R instead of cp -a (it's more portable).
judah.jacobson@gmail.com [Fri, 31 Aug 2007 05:02:15 +0000 (05:02 +0000)]
Use cp -R instead of cp -a (it's more portable).

M ./libraries/Makefile -3 +3

16 years agoFix installing the libraries when there is no DESTDIR
Ian Lynagh [Fri, 31 Aug 2007 01:54:42 +0000 (01:54 +0000)]
Fix installing the libraries when there is no DESTDIR

16 years agoMake the doc index page obey DESTDIR
Ian Lynagh [Fri, 31 Aug 2007 01:45:37 +0000 (01:45 +0000)]
Make the doc index page obey DESTDIR

16 years agoMake rts docs obey DESTDIR
Ian Lynagh [Fri, 31 Aug 2007 01:43:46 +0000 (01:43 +0000)]
Make rts docs obey DESTDIR

16 years agoMake the manpage obey DESTDIR
Ian Lynagh [Fri, 31 Aug 2007 01:42:53 +0000 (01:42 +0000)]
Make the manpage obey DESTDIR

16 years agoObey DESTDIR when installing library docs
Ian Lynagh [Fri, 31 Aug 2007 01:23:51 +0000 (01:23 +0000)]
Obey DESTDIR when installing library docs

16 years agotypo in DLL code
Simon Marlow [Thu, 30 Aug 2007 14:31:05 +0000 (14:31 +0000)]
typo in DLL code

16 years agoWindows: give a better error message when running out of memory
Simon Marlow [Thu, 30 Aug 2007 13:51:46 +0000 (13:51 +0000)]
Windows: give a better error message when running out of memory
I think this fixes #1209

Previously:

outofmem.exe: getMBlocks: VirtualAlloc MEM_RESERVE 1025 blocks failed: Not enoug
h storage is available to process this command.

Now:

outofmem.exe: out of memory

16 years agoRemove NDP-related stuff from PrelNames
Roman Leshchinskiy [Fri, 31 Aug 2007 04:54:11 +0000 (04:54 +0000)]
Remove NDP-related stuff from PrelNames

We don't need fixed Names for NDP built-ins. Instead, we can look them up
ourselves during VM initialisation.

16 years agoVectorisation of enumeration types
Roman Leshchinskiy [Fri, 31 Aug 2007 04:18:22 +0000 (04:18 +0000)]
Vectorisation of enumeration types

16 years agoNumber data constructors from 0 when vectorising
Roman Leshchinskiy [Fri, 31 Aug 2007 03:25:28 +0000 (03:25 +0000)]
Number data constructors from 0 when vectorising

16 years agoRename functions
Roman Leshchinskiy [Fri, 31 Aug 2007 03:21:25 +0000 (03:21 +0000)]
Rename functions

16 years agoRefactoring
Roman Leshchinskiy [Fri, 31 Aug 2007 01:53:12 +0000 (01:53 +0000)]
Refactoring

16 years agoRefactoring
Roman Leshchinskiy [Fri, 31 Aug 2007 01:26:38 +0000 (01:26 +0000)]
Refactoring

16 years agoFix vectorisation of nullary data constructors
Roman Leshchinskiy [Fri, 31 Aug 2007 00:59:12 +0000 (00:59 +0000)]
Fix vectorisation of nullary data constructors

16 years agoDo not unnecessarily wrap array components
Roman Leshchinskiy [Thu, 30 Aug 2007 06:29:58 +0000 (06:29 +0000)]
Do not unnecessarily wrap array components

16 years agoRemove dead code
Roman Leshchinskiy [Thu, 30 Aug 2007 05:54:44 +0000 (05:54 +0000)]
Remove dead code

16 years agoFix vectorisation of unary data constructors
Roman Leshchinskiy [Thu, 30 Aug 2007 04:02:52 +0000 (04:02 +0000)]
Fix vectorisation of unary data constructors

16 years agoFix vectorisation of sum type constructors
Roman Leshchinskiy [Thu, 30 Aug 2007 03:52:25 +0000 (03:52 +0000)]
Fix vectorisation of sum type constructors

16 years agoTrack changes to package ndp (use PArray_Int# instead of UArr Int)
Roman Leshchinskiy [Thu, 30 Aug 2007 03:21:04 +0000 (03:21 +0000)]
Track changes to package ndp (use PArray_Int# instead of UArr Int)

16 years agoFind the correct array type for primitive tycons
Roman Leshchinskiy [Thu, 30 Aug 2007 02:52:24 +0000 (02:52 +0000)]
Find the correct array type for primitive tycons

16 years agoAdd code for looking up PA methods of primitive TyCons
Roman Leshchinskiy [Thu, 30 Aug 2007 01:42:57 +0000 (01:42 +0000)]
Add code for looking up PA methods of primitive TyCons

16 years agoDelete dead code
Roman Leshchinskiy [Wed, 29 Aug 2007 14:56:30 +0000 (14:56 +0000)]
Delete dead code

16 years agoRewrite vectorisation of product DataCon workers
Roman Leshchinskiy [Wed, 29 Aug 2007 14:54:46 +0000 (14:54 +0000)]
Rewrite vectorisation of product DataCon workers

16 years agoRewrite generation of PA dictionaries
Roman Leshchinskiy [Wed, 29 Aug 2007 06:42:58 +0000 (06:42 +0000)]
Rewrite generation of PA dictionaries

16 years agoComplete PA dictionary generation for product types
Roman Leshchinskiy [Fri, 24 Aug 2007 23:01:52 +0000 (23:01 +0000)]
Complete PA dictionary generation for product types

16 years agoSimplify generation of PR dictionaries for products
Roman Leshchinskiy [Fri, 24 Aug 2007 07:19:25 +0000 (07:19 +0000)]
Simplify generation of PR dictionaries for products

16 years agoRemove unused vectorisation built-in
Roman Leshchinskiy [Fri, 24 Aug 2007 05:15:24 +0000 (05:15 +0000)]
Remove unused vectorisation built-in

16 years agoAdapt PArray instance generation to new scheme
Roman Leshchinskiy [Fri, 24 Aug 2007 05:12:42 +0000 (05:12 +0000)]
Adapt PArray instance generation to new scheme

16 years agoAdd UArr built-in
Roman Leshchinskiy [Fri, 24 Aug 2007 05:12:13 +0000 (05:12 +0000)]
Add UArr built-in

16 years agoModify generation of PR dictionaries for new scheme
Roman Leshchinskiy [Fri, 24 Aug 2007 04:31:44 +0000 (04:31 +0000)]
Modify generation of PR dictionaries for new scheme

16 years agoRefactoring
Roman Leshchinskiy [Fri, 24 Aug 2007 04:09:01 +0000 (04:09 +0000)]
Refactoring

16 years agoRemove dead code
Roman Leshchinskiy [Fri, 24 Aug 2007 03:57:51 +0000 (03:57 +0000)]
Remove dead code

16 years agoFix buildFromPRepr
Roman Leshchinskiy [Fri, 24 Aug 2007 03:57:00 +0000 (03:57 +0000)]
Fix buildFromPRepr

16 years agoMove code
Roman Leshchinskiy [Fri, 24 Aug 2007 03:29:30 +0000 (03:29 +0000)]
Move code

16 years agoMove code
Roman Leshchinskiy [Fri, 24 Aug 2007 03:27:43 +0000 (03:27 +0000)]
Move code

16 years agoDelete dead code
Roman Leshchinskiy [Fri, 24 Aug 2007 03:15:04 +0000 (03:15 +0000)]
Delete dead code

16 years agoChange buildToPRepr to work with the new representation scheme
Roman Leshchinskiy [Fri, 24 Aug 2007 03:14:07 +0000 (03:14 +0000)]
Change buildToPRepr to work with the new representation scheme

16 years agoRemove Embed and related stuff from vectorisation
Roman Leshchinskiy [Fri, 24 Aug 2007 02:30:30 +0000 (02:30 +0000)]
Remove Embed and related stuff from vectorisation

16 years agoEncode generic representation of vectorised TyCons by a data type
Roman Leshchinskiy [Fri, 24 Aug 2007 01:21:40 +0000 (01:21 +0000)]
Encode generic representation of vectorised TyCons by a data type

16 years agoRemove dead code
Roman Leshchinskiy [Thu, 23 Aug 2007 13:58:10 +0000 (13:58 +0000)]
Remove dead code

16 years agoConversions to/from generic array representation (not finished yet)
Roman Leshchinskiy [Thu, 23 Aug 2007 13:56:49 +0000 (13:56 +0000)]
Conversions to/from generic array representation (not finished yet)

16 years agoUse n-ary sums and products for NDP's generic representation
Roman Leshchinskiy [Thu, 23 Aug 2007 06:09:45 +0000 (06:09 +0000)]
Use n-ary sums and products for NDP's generic representation

Originally, we wanted to only use binary ones, at least initially. But this
would a lot of fiddling with selectors when converting to/from generic
array representations. This is both inefficient and hard to implement.
Instead, we will limit the arity of our sums/product representation to, say,
16 (it's 3 at the moment) and initially refuse to vectorise programs for which
this is not sufficient. This allows us to implement everything in the library.
Later, we can implement the necessary splitting.

16 years agoFix where all the documentation gets installed
Ian Lynagh [Thu, 30 Aug 2007 22:37:40 +0000 (22:37 +0000)]
Fix where all the documentation gets installed
The paths can also now be overridden with the standard configure flags
--docdir=, --htmldir= etc. We were always advertising these, but now we
actually obey them.

16 years agoAdded decidability check for type instances
Manuel M T Chakravarty [Thu, 30 Aug 2007 14:49:01 +0000 (14:49 +0000)]
Added decidability check for type instances

16 years agoWarning police
Pepe Iborra [Wed, 29 Aug 2007 18:31:55 +0000 (18:31 +0000)]
Warning police

16 years agoUse a Data.Sequence instead of a list in cvReconstructType
Pepe Iborra [Wed, 29 Aug 2007 17:51:19 +0000 (17:51 +0000)]
Use a Data.Sequence instead of a list in cvReconstructType

While I was there I removed some trailing white space

16 years agoFix a bug in RtClosureInspect.cvReconstructType.
Pepe Iborra [Wed, 29 Aug 2007 17:48:42 +0000 (17:48 +0000)]
Fix a bug in RtClosureInspect.cvReconstructType.
Test is print025

16 years agoWarning police
Pepe Iborra [Wed, 29 Aug 2007 16:56:53 +0000 (16:56 +0000)]
Warning police

16 years agoUNDO: Extend ModBreaks with the srcspan's of the enclosing expressions
Pepe Iborra [Wed, 29 Aug 2007 10:23:14 +0000 (10:23 +0000)]
UNDO: Extend ModBreaks with the srcspan's of the enclosing expressions

Remnants of :stepover

16 years agoremove "special Ids" section, replace with a link to GHC.Prim
Simon Marlow [Thu, 30 Aug 2007 11:21:39 +0000 (11:21 +0000)]
remove "special Ids" section, replace with a link to GHC.Prim
This documentation was just duplicating what is in GHC.Prim now.

16 years agoexpand docs for unsafeCoerce#, as a result of investigations for #1616
Simon Marlow [Thu, 30 Aug 2007 11:19:09 +0000 (11:19 +0000)]
expand docs for unsafeCoerce#, as a result of investigations for #1616

16 years agoRemove text about ghcprof. It almost certainly doesn't work.
Simon Marlow [Wed, 29 Aug 2007 12:21:26 +0000 (12:21 +0000)]
Remove text about ghcprof.  It almost certainly doesn't work.

16 years agofix compiling GHC 6.7+ with itself - compat needs -package containers now
Simon Marlow [Wed, 29 Aug 2007 11:35:00 +0000 (11:35 +0000)]
fix compiling GHC 6.7+ with itself - compat needs -package containers now

16 years agofix typo
Simon Marlow [Fri, 24 Aug 2007 14:10:39 +0000 (14:10 +0000)]
fix typo

16 years agono -auto-all for CorePrep
Simon Marlow [Wed, 29 Aug 2007 09:24:14 +0000 (09:24 +0000)]
no -auto-all for CorePrep

16 years agoimprovements to findPtr(), a useful hack for space-leak debugging in gdb
Simon Marlow [Wed, 29 Aug 2007 09:24:00 +0000 (09:24 +0000)]
improvements to findPtr(), a useful hack for space-leak debugging in gdb

16 years agofix up some old text, remove things that aren't true any more
Simon Marlow [Tue, 28 Aug 2007 12:58:21 +0000 (12:58 +0000)]
fix up some old text, remove things that aren't true any more

16 years agoWindows: remove the {Enter,Leave}CricialSection wrappers
Simon Marlow [Wed, 29 Aug 2007 10:48:11 +0000 (10:48 +0000)]
Windows: remove the {Enter,Leave}CricialSection wrappers
The C-- parser was missing the "stdcall" calling convention for
foreign calls, but once added we can call {Enter,Leave}CricialSection
directly.

16 years agoWibble
Pepe Iborra [Wed, 29 Aug 2007 08:53:05 +0000 (08:53 +0000)]
Wibble

16 years agoFIX: Remove accidential change to darcs-all in type families patch
Manuel M T Chakravarty [Wed, 29 Aug 2007 01:00:11 +0000 (01:00 +0000)]
FIX: Remove accidential change to darcs-all in type families patch
- The type families patch includes a change to darcs-all that breaks it for
  ssh repos at least for Perl 5.8.8 (on MacOS).
- My Perl-fu is not sufficient to try to fix the modification, which was
  supposed to improve darcs-all on windows, so I just revert to the old
  code.

16 years agoRemove INSTALL_INCLUDES; no longer used
Ian Lynagh [Tue, 28 Aug 2007 20:56:36 +0000 (20:56 +0000)]
Remove INSTALL_INCLUDES; no longer used

16 years agoUse DESTDIR when installing
Ian Lynagh [Tue, 28 Aug 2007 20:51:19 +0000 (20:51 +0000)]
Use DESTDIR when installing

16 years agoCopy LICENSE files into the bindist, as Cabal now installs them
Ian Lynagh [Tue, 28 Aug 2007 13:04:28 +0000 (13:04 +0000)]
Copy LICENSE files into the bindist, as Cabal now installs them

16 years agoBetter handling of join points in spill cleaner 2007-08-28
Ben.Lippmeier@anu.edu.au [Tue, 28 Aug 2007 13:30:50 +0000 (13:30 +0000)]
Better handling of join points in spill cleaner

16 years agocomment wibble
Ben.Lippmeier@anu.edu.au [Fri, 24 Aug 2007 16:03:14 +0000 (16:03 +0000)]
comment wibble