ghc.git
11 years agoRemove .hi-boot-[56] stuff from the Makefile
Ian Lynagh [Thu, 10 Jul 2008 13:15:28 +0000 (13:15 +0000)] 
Remove .hi-boot-[56] stuff from the Makefile

11 years agoRemove a flag that a comment claims is for GHC < 5
Ian Lynagh [Thu, 10 Jul 2008 13:09:25 +0000 (13:09 +0000)] 
Remove a flag that a comment claims is for GHC < 5

11 years agoWe can now unconditionally use -fno-warn-orphans
Ian Lynagh [Thu, 10 Jul 2008 12:59:48 +0000 (12:59 +0000)] 
We can now unconditionally use -fno-warn-orphans
...which is good, as the conditional test was broken anyway!

11 years agoMove another flag from the Makefile into a pragma
Ian Lynagh [Thu, 10 Jul 2008 12:54:22 +0000 (12:54 +0000)] 
Move another flag from the Makefile into a pragma

11 years agoMove some flags from the Makefile into module pragmas
Ian Lynagh [Thu, 10 Jul 2008 12:48:27 +0000 (12:48 +0000)] 
Move some flags from the Makefile into module pragmas

11 years agoMove "main/BinIface_HC_OPTS += -O" into a pragma in iface/BinIface.hs
Ian Lynagh [Thu, 10 Jul 2008 12:41:41 +0000 (12:41 +0000)] 
Move "main/BinIface_HC_OPTS += -O" into a pragma in iface/BinIface.hs
I assume that we still want this, despite it having been disconnected
when the module was moved.

11 years agoRemove an ancient commented out "parser/Parser_HC_OPTS += -fasm"
Ian Lynagh [Thu, 10 Jul 2008 12:36:55 +0000 (12:36 +0000)] 
Remove an ancient commented out "parser/Parser_HC_OPTS += -fasm"

11 years agoadd threadStatus# primop, for querying the status of a ThreadId#
Simon Marlow [Thu, 10 Jul 2008 15:14:06 +0000 (15:14 +0000)] 
add threadStatus# primop, for querying the status of a ThreadId#

11 years agooops, fix more register clobberage
Simon Marlow [Thu, 10 Jul 2008 11:52:21 +0000 (11:52 +0000)] 
oops, fix more register clobberage
fixes crash with -threaded -debug for me

11 years agorts_evalStableIO: start the new thread in blocked mode
Simon Marlow [Wed, 9 Jul 2008 13:54:47 +0000 (13:54 +0000)] 
rts_evalStableIO: start the new thread in blocked mode

11 years agoadd new primop: asyncExceptionsBlocked# :: IO Bool
Simon Marlow [Wed, 9 Jul 2008 13:53:37 +0000 (13:53 +0000)] 
add new primop: asyncExceptionsBlocked# :: IO Bool

11 years agoObjectIO is no longer an extralib
Ian Lynagh [Wed, 9 Jul 2008 13:57:22 +0000 (13:57 +0000)] 
ObjectIO is no longer an extralib

11 years agoRemove all references to -mno-cygwin
Ian Lynagh [Wed, 9 Jul 2008 12:55:54 +0000 (12:55 +0000)] 
Remove all references to -mno-cygwin
We shouldn't need it, as we don't call cygwin's gcc, and it was causing
problems with the nightly builders passing it to GHC.

11 years ago#1205: ':load foo.hs' in GHCi always compiles to bytecode
Simon Marlow [Wed, 9 Jul 2008 11:08:30 +0000 (11:08 +0000)] 
#1205: ':load foo.hs' in GHCi always compiles to bytecode

So now

  :load foo.hs       loads bytecode for foo.hs, even if foo.o exists
  :load foo          is just shorthand for :load foo.hs
  :load M            loads a module M, as object code if possible
                     (no change here)

  :set -fobject-code
  :load foo.hs       loads foo.hs as object code; an existing foo.o
                     can be used.

This turned out to be very straightforward: when building the
ModSummary for a file (summariseFile) we just ignore the object file
unless -fobject-code is on.

11 years agoadd -fwarn-dodgy-foreign-imports (see #1357)
Simon Marlow [Wed, 9 Jul 2008 10:21:43 +0000 (10:21 +0000)] 
add -fwarn-dodgy-foreign-imports (see #1357)

From the entry in the User's guide:

-fwarn-dodgy-foreign-imports causes a warning to be emitted for
foreign imports of the following form:

foreign import "f" f :: FunPtr t

on the grounds that it probably should be

foreign import "&f" f :: FunPtr t

The first form declares that `f` is a (pure) C function that takes no
arguments and returns a pointer to a C function with type `t`, whereas
the second form declares that `f` itself is a C function with type
`t`.  The first declaration is usually a mistake, and one that is hard
to debug because it results in a crash, hence this warning.

11 years agoTreat the Unicode "Letter, Other" class as lowercase letters (#1103)
Simon Marlow [Wed, 9 Jul 2008 09:12:52 +0000 (09:12 +0000)] 
Treat the Unicode "Letter, Other" class as lowercase letters (#1103)
This is an arbitrary choice, but it's strictly more useful than the
current situation, where these characters cannot be used in
identifiers at all.

In Haskell' we may revisit this decision (it's on my list of things to
discuss), but for now this is an improvement for those using caseless
languages.

11 years agoFIX part of #2301, and #1619
Simon Marlow [Wed, 9 Jul 2008 08:49:16 +0000 (08:49 +0000)] 
FIX part of #2301, and #1619

2301: Control-C now causes the new exception (AsyncException
UserInterrupt) to be raised in the main thread.  The signal handler
is set up by GHC.TopHandler.runMainIO, and can be overriden in the
usual way by installing a new signal handler.  The advantage is that
now all programs will get a chance to clean up on ^C.

When UserInterrupt is caught by the topmost handler, we now exit the
program via kill(getpid(),SIGINT), which tells the parent process that
we exited as a result of ^C, so the parent can take appropriate action
(it might want to exit too, for example).

One subtlety is that we have to use a weak reference to the ThreadId
for the main thread, so that the signal handler doesn't prevent the
main thread from being subject to deadlock detection.

1619: we now ignore SIGPIPE by default.  Although POSIX says that a
SIGPIPE should terminate the process by default, I wonder if this
decision was made because many C applications failed to check the exit
code from write().  In Haskell a failed write due to a closed pipe
will generate an exception anyway, so the main difference is that we
now get a useful error message instead of silent program termination.
See #1619 for more discussion.

11 years agoFix some random register clobbering in takeMVar/putMVar
Simon Marlow [Wed, 9 Jul 2008 08:31:28 +0000 (08:31 +0000)] 
Fix some random register clobbering in takeMVar/putMVar
This showed up as a crash in conc032 for me.

11 years agoANSI-ise a function declaration
Simon Marlow [Tue, 8 Jul 2008 11:04:30 +0000 (11:04 +0000)] 
ANSI-ise a function declaration

11 years agoremove old #ifdef SMP bits
Simon Marlow [Tue, 8 Jul 2008 11:04:10 +0000 (11:04 +0000)] 
remove old #ifdef SMP bits

11 years agoFix build; Opt_LinkHaskell98 is now Opt_AutoLinkPackages
Ian Lynagh [Tue, 8 Jul 2008 22:40:05 +0000 (22:40 +0000)] 
Fix build; Opt_LinkHaskell98 is now Opt_AutoLinkPackages

11 years agoExtend the flag for not automatically linking haskell98
Ian Lynagh [Tue, 8 Jul 2008 16:56:54 +0000 (16:56 +0000)] 
Extend the flag for not automatically linking haskell98
It now also doesn't automatically link base and rts either.
We need this when we've done a build, so base and rts are in the
package.conf, but we've then cleaned the libraries so they don't
physically exist any more.

11 years agoRemove all .hi-boot-6 files
Ian Lynagh [Tue, 8 Jul 2008 15:00:59 +0000 (15:00 +0000)] 
Remove all .hi-boot-6 files
From 6.4 onwards we use .(l)hs-boot instead.
Spotted by Max Bolingbroke.

11 years agoAdd some missing deps in libraries/Makefile
Ian Lynagh [Tue, 8 Jul 2008 14:27:52 +0000 (14:27 +0000)] 
Add some missing deps in libraries/Makefile

11 years agoGet rid of compat/
Ian Lynagh [Tue, 8 Jul 2008 00:27:17 +0000 (00:27 +0000)] 
Get rid of compat/
Compat.Unicode is not utils/Unicode in the compiler.
We build the hpc package with the stage1 compiler.
Nothing else in the compat package was still used.

11 years agoAdd a comment in validate saying where the hpc HTML is put
Ian Lynagh [Mon, 7 Jul 2008 10:38:16 +0000 (10:38 +0000)] 
Add a comment in validate saying where the hpc HTML is put

11 years agoFIX #1736, and probably #2169, #2240
Simon Marlow [Mon, 7 Jul 2008 09:58:36 +0000 (09:58 +0000)] 
FIX #1736, and probably #2169, #2240
appendStringBuffer was completely bogus - the arguments to copyArray
were the wrong way around, which meant that corruption was very likely
to occur by overwriting the end of the buffer in the first argument.

This definitely fixes #1736.  The other two bugs, #2169 and #2240 are
harder to reproduce, but we can see how they could occur: in the case
of #2169, the options parser is seeing the contents of an old buffer,
and in the case of #2240, appendStringBuffer is corrupting an
interface file in memory, since strng buffers and interface files are
both allocated in the pinned region of memory.

11 years agoFix Trac #2414: occurrs check was missed
simonpj@microsoft.com [Mon, 7 Jul 2008 10:32:01 +0000 (10:32 +0000)] 
Fix Trac #2414: occurrs check was missed

This is an embarassing one: a missing occurs check meant that a type-incorrect
program could leak through.  Yikes!

(An indirect consequence of extra complexity introduced by boxy types. Sigh.)

Merge to 6.8.4 if we release it.

11 years agoWhite space only
simonpj@microsoft.com [Mon, 7 Jul 2008 10:31:45 +0000 (10:31 +0000)] 
White space only

11 years agoWhite space only
simonpj@microsoft.com [Mon, 7 Jul 2008 10:31:10 +0000 (10:31 +0000)] 
White space only

11 years agoFix Trac #2386: exceesive trimming of data types with Template Haskell
simonpj@microsoft.com [Mon, 7 Jul 2008 10:29:41 +0000 (10:29 +0000)] 
Fix Trac #2386: exceesive trimming of data types with Template Haskell

See Note [Trimming and Template Haskell] in TidyPgm.

Merge to 6.8.4 if we ever release it.

11 years agoAdd hsc2hs.wrapper
Ian Lynagh [Sat, 5 Jul 2008 21:41:04 +0000 (21:41 +0000)] 
Add hsc2hs.wrapper

11 years agoFix hsc2hs finding its template file on Windows
Ian Lynagh [Sat, 5 Jul 2008 18:58:29 +0000 (18:58 +0000)] 
Fix hsc2hs finding its template file on Windows

11 years agoOn cygwin, convert happy's path to a native path
Ian Lynagh [Sat, 5 Jul 2008 16:31:13 +0000 (16:31 +0000)] 
On cygwin, convert happy's path to a native path

11 years agoOn cygwin, convert Haddock's path to a native path
Ian Lynagh [Sat, 5 Jul 2008 16:21:54 +0000 (16:21 +0000)] 
On cygwin, convert Haddock's path to a native path

11 years agoOn cygwin, convert alex's path to a native path
Ian Lynagh [Sat, 5 Jul 2008 15:55:59 +0000 (15:55 +0000)] 
On cygwin, convert alex's path to a native path

11 years agolibffi now doesn't have an artificial make boot/all split
Ian Lynagh [Sat, 5 Jul 2008 15:50:25 +0000 (15:50 +0000)] 
libffi now doesn't have an artificial make boot/all split

11 years agoNeed to make all in gmp, not boot
Ian Lynagh [Sat, 5 Jul 2008 15:32:45 +0000 (15:32 +0000)] 
Need to make all in gmp, not boot

11 years agogmp didn't really fit into the make boot/all cycle, so don't try to force it
Ian Lynagh [Sat, 5 Jul 2008 14:03:54 +0000 (14:03 +0000)] 
gmp didn't really fit into the make boot/all cycle, so don't try to force it
Now we just run make in it at the start of the stage1 build

11 years agoBuild hsc2hs with Cabal
Ian Lynagh [Sat, 5 Jul 2008 13:42:08 +0000 (13:42 +0000)] 
Build hsc2hs with Cabal
This is very rough around teh edges at the moment.

11 years agoAdd a flag to disable linking with the haskell98 package
Ian Lynagh [Sat, 5 Jul 2008 13:41:15 +0000 (13:41 +0000)] 
Add a flag to disable linking with the haskell98 package

11 years agoUse the last compiler if more than one is specified
Ian Lynagh [Sat, 5 Jul 2008 12:14:26 +0000 (12:14 +0000)] 
Use the last compiler if more than one is specified

11 years agoImprove error messages from pwd
Ian Lynagh [Fri, 4 Jul 2008 23:33:43 +0000 (23:33 +0000)] 
Improve error messages from pwd

11 years agoIn utils/hsc2hs, add LICENSE and hsc2hs.cabal from the standalone repo
Ian Lynagh [Fri, 4 Jul 2008 22:22:06 +0000 (22:22 +0000)] 
In utils/hsc2hs, add LICENSE and hsc2hs.cabal from the standalone repo

11 years agoRemove fgl from the libraries Makefile
Ian Lynagh [Fri, 4 Jul 2008 22:10:26 +0000 (22:10 +0000)] 
Remove fgl from the libraries Makefile
It's no longer an extralib

11 years agoTell the bootstrapping Cabal where ghc-pkg is
Ian Lynagh [Fri, 4 Jul 2008 15:27:13 +0000 (15:27 +0000)] 
Tell the bootstrapping Cabal where ghc-pkg is

11 years agoFIX #2398: file locking wasn't thread-safe
Simon Marlow [Fri, 4 Jul 2008 14:46:26 +0000 (14:46 +0000)] 
FIX #2398: file locking wasn't thread-safe

11 years agoRemove out of date comments and point to the commentary
Simon Marlow [Fri, 20 Jun 2008 13:52:58 +0000 (13:52 +0000)] 
Remove out of date comments and point to the commentary
The wiki commentary is now the official description of recompilation
checking.

http://hackage.haskell.org/trac/ghc/wiki/Commentary/Compiler/RecompilationAvoidance

11 years agoRemove Cabal modules from compat
Ian Lynagh [Thu, 3 Jul 2008 22:46:33 +0000 (22:46 +0000)] 
Remove Cabal modules from compat
We now get them from the bootstrapping package.conf instead

11 years agoFix trac #2307: conflicting functional dependencies
Ian Lynagh [Thu, 3 Jul 2008 19:25:40 +0000 (19:25 +0000)] 
Fix trac #2307: conflicting functional dependencies
We were accepting some instances that should have been rejected as
their fundep constraints were violated. e.g. we accepted
    class C a b c | b -> c
    instance C Bool Int Float
    instance C Char Int Double

11 years agoIf we know where alex, haddock and happy are then tell Cabal; fixes trac #2373
Ian Lynagh [Thu, 3 Jul 2008 19:10:31 +0000 (19:10 +0000)] 
If we know where alex, haddock and happy are then tell Cabal; fixes trac #2373

11 years agoDon't clean bootstrapping bits when cleaning libraries
Ian Lynagh [Thu, 3 Jul 2008 15:46:47 +0000 (15:46 +0000)] 
Don't clean bootstrapping bits when cleaning libraries

11 years agoMore libraries/Makefile fixes
Ian Lynagh [Thu, 3 Jul 2008 14:10:16 +0000 (14:10 +0000)] 
More libraries/Makefile fixes

11 years agoShove the GHC path through cygpath -m
Ian Lynagh [Thu, 3 Jul 2008 13:26:14 +0000 (13:26 +0000)] 
Shove the GHC path through cygpath -m

11 years agoTweak the configure script Windows-specific bits
Ian Lynagh [Thu, 3 Jul 2008 13:24:37 +0000 (13:24 +0000)] 
Tweak the configure script Windows-specific bits

11 years agoUse cygpath -m, rather than fudging it ourselves with sed
Ian Lynagh [Thu, 3 Jul 2008 13:17:25 +0000 (13:17 +0000)] 
Use cygpath -m, rather than fudging it ourselves with sed

11 years agoFix build on Windows
Ian Lynagh [Thu, 3 Jul 2008 12:45:53 +0000 (12:45 +0000)] 
Fix build on Windows

11 years agoInclude ghc.spec in tarballs; patch from, and fixes, trac #2390
Ian Lynagh [Thu, 3 Jul 2008 16:14:57 +0000 (16:14 +0000)] 
Include ghc.spec in tarballs; patch from, and fixes, trac #2390

11 years agoAdd a program for describing unexpected tests in testlog
Ian Lynagh [Thu, 3 Jul 2008 13:40:03 +0000 (13:40 +0000)] 
Add a program for describing unexpected tests in testlog
This goes through the testlog and spits out any sections that contain
"unexpected".

11 years agoTeach cabal-bin how to build Setup programs
Ian Lynagh [Thu, 3 Jul 2008 00:13:00 +0000 (00:13 +0000)] 
Teach cabal-bin how to build Setup programs

We now build a copy of Cabal and put it in a bootstrapping package.conf.

We also make boot in libraries much earlier in the build process, so we
can use cabal-bin for more stuff in the future.

11 years agoWibble cabal-bin's error message
Ian Lynagh [Wed, 2 Jul 2008 15:59:37 +0000 (15:59 +0000)] 
Wibble cabal-bin's error message
We don't need to put the program name in it, as that happens automatically

11 years agoAdd type signatures
Roman Leshchinskiy [Thu, 3 Jul 2008 02:36:35 +0000 (02:36 +0000)] 
Add type signatures

11 years agoCommand-line options for selecting DPH backend
Roman Leshchinskiy [Wed, 2 Jul 2008 02:22:02 +0000 (02:22 +0000)] 
Command-line options for selecting DPH backend

It's -fdph-seq and -fdph-par at the moment, I'll think of a nicer setup later.

11 years agoAdd missing dph package to Makefile
Roman Leshchinskiy [Wed, 2 Jul 2008 02:21:42 +0000 (02:21 +0000)] 
Add missing dph package to Makefile

11 years agoSlight refactoring
Roman Leshchinskiy [Tue, 1 Jul 2008 02:52:27 +0000 (02:52 +0000)] 
Slight refactoring

11 years agoRename *NDP* -> *DPH*
Roman Leshchinskiy [Tue, 1 Jul 2008 02:45:59 +0000 (02:45 +0000)] 
Rename *NDP* -> *DPH*

11 years agoParametrise vectoriser with DPH package
Roman Leshchinskiy [Tue, 1 Jul 2008 02:45:15 +0000 (02:45 +0000)] 
Parametrise vectoriser with DPH package

11 years agoDon't use DPH backend directly in vectoriser
Roman Leshchinskiy [Tue, 1 Jul 2008 02:14:36 +0000 (02:14 +0000)] 
Don't use DPH backend directly in vectoriser

11 years agoMake dph-seq and dph-par wired-in packages
Roman Leshchinskiy [Tue, 1 Jul 2008 02:02:14 +0000 (02:02 +0000)] 
Make dph-seq and dph-par wired-in packages

11 years agoFIX #2313 do not include BFD symbols in RTS when the BFD library is not available...
Karel Gardas [Wed, 28 May 2008 09:31:39 +0000 (09:31 +0000)] 
FIX #2313 do not include BFD symbols in RTS when the BFD library is not available for linking

11 years agoAdd --slow (and --fast) options to validate
Ian Lynagh [Tue, 1 Jul 2008 17:59:27 +0000 (17:59 +0000)] 
Add --slow (and --fast) options to validate
slow mode is 14% slower than normal. It uses -DDEBUG for the stage 2
compiler, and -XGenerics for the stage 2 compiler and the libraries.
I believe that most of the slowdown is actually caused by -XGenerics
rather than -DDEBUG.

11 years agoFix Trac #2307: need to nub bad fundep reports
simonpj@microsoft.com [Tue, 1 Jul 2008 16:58:30 +0000 (16:58 +0000)] 
Fix Trac #2307: need to nub bad fundep reports

11 years agoEasy fix for Trac #2409
simonpj@microsoft.com [Tue, 1 Jul 2008 16:37:22 +0000 (16:37 +0000)] 
Easy fix for Trac #2409

Yurgh. See Note [Desugaring seq (3)]

11 years agoMake a "validate --hpc"; shows how much of the compiler the testsuite tests
Ian Lynagh [Tue, 1 Jul 2008 12:45:15 +0000 (12:45 +0000)] 
Make a "validate --hpc"; shows how much of the compiler the testsuite tests
Currently it causes a load of ghci-debugger tests to fail and takes
63% longer.

11 years agoAllow the exact HPC tix filename to be given in the HPCTIXFILE env var
Ian Lynagh [Tue, 1 Jul 2008 12:43:20 +0000 (12:43 +0000)] 
Allow the exact HPC tix filename to be given in the HPCTIXFILE env var

11 years agoarray is now warning-free
Ian Lynagh [Mon, 30 Jun 2008 20:41:26 +0000 (20:41 +0000)] 
array is now warning-free

11 years agoSeveral fixes to 'deriving' including Trac #2378
simonpj@microsoft.com [Tue, 1 Jul 2008 12:09:08 +0000 (12:09 +0000)] 
Several fixes to 'deriving' including Trac #2378

This patch collects several related things together.

* Refactor TcDeriv so that the InstInfo and the method bindings are renamed
  together.  This was messy before, and is cleaner now.  Fixes a bug caused
  by interaction between the "auxiliary bindings" (which were given
  Original names before), and stand-alone deriving (which meant that those
  Original names came from a different module). Now the names are purely
  local an ordinary.

  To do this, InstInfo is parameterised like much else HsSyn stuff.

* Improve the location info in a dfun, which in turn improves location
  info for error messages, e.g. overlapping instances

* Make sure that newtype-deriving isn't used for Typeable1 and friends.
  (Typeable was rightly taken care of, but not Typeable1,2, etc.)

* Check for data types in deriving Data, so that you can't do, say,
  deriving instance Data (IO a)

* Decorate the derived binding with location info from the *instance*
  rather than from the *tycon*.  Again, this really only matters with
  standalone deriving, but it makes a huge difference there.

I think that's it.  Quite a few error messages change slightly.

If we release 6.8.4, this should go in if possible.

11 years agoFollow Cabal changes
Ian Lynagh [Sun, 29 Jun 2008 21:16:33 +0000 (21:16 +0000)] 
Follow Cabal changes

11 years agoRename cabal to cabal-bin
Ian Lynagh [Sun, 29 Jun 2008 11:00:03 +0000 (11:00 +0000)] 
Rename cabal to cabal-bin
Avoids conflicts with the Cabal library on case-insensitive filesystems

11 years agomkdirhier.sh now accepts -q, which makes it be quiet
Ian Lynagh [Fri, 27 Jun 2008 23:35:28 +0000 (23:35 +0000)] 
mkdirhier.sh now accepts -q, which makes it be quiet

11 years agoUpdate .darcs-boring
Ian Lynagh [Fri, 27 Jun 2008 18:14:10 +0000 (18:14 +0000)] 
Update .darcs-boring

11 years agoUpdate darcs-boring
Ian Lynagh [Fri, 27 Jun 2008 15:41:42 +0000 (15:41 +0000)] 
Update darcs-boring

11 years agoUpdate .darcs-boring
Ian Lynagh [Fri, 27 Jun 2008 14:56:33 +0000 (14:56 +0000)] 
Update .darcs-boring

11 years agoFollow Cabal changes
Ian Lynagh [Thu, 26 Jun 2008 20:27:49 +0000 (20:27 +0000)] 
Follow Cabal changes

11 years agoAbsolutify a path
Ian Lynagh [Thu, 26 Jun 2008 18:11:34 +0000 (18:11 +0000)] 
Absolutify a path
When building ghc-prim/Setup we weren't putting the hi files in the
right place.

11 years agoRemove fgl from extralibs
Ian Lynagh [Thu, 26 Jun 2008 11:27:39 +0000 (11:27 +0000)] 
Remove fgl from extralibs

11 years agoUse a program similar to cabal-install to build the libraries
Ian Lynagh [Thu, 26 Jun 2008 11:25:11 +0000 (11:25 +0000)] 
Use a program similar to cabal-install to build the libraries
This means that we don't have to make a Setup program for each library
individually, and also simplifies the build system a bit.

11 years agoFix Trac #2394: test for non-algebraic types in standalone deriving
simonpj@microsoft.com [Wed, 25 Jun 2008 16:02:04 +0000 (16:02 +0000)] 
Fix Trac #2394: test for non-algebraic types in standalone deriving

11 years ago() is now in ghc-prim:GHC.Unit
Ian Lynagh [Tue, 24 Jun 2008 14:48:49 +0000 (14:48 +0000)] 
() is now in ghc-prim:GHC.Unit

11 years agoGenerate a warning-free GHC.PrimopWrappers. ghc-prim is now -Wall clean.
Ian Lynagh [Tue, 24 Jun 2008 12:25:29 +0000 (12:25 +0000)] 
Generate a warning-free GHC.PrimopWrappers. ghc-prim is now -Wall clean.

11 years agoFix some inconsistencies in the code and docs of primitives
Ian Lynagh [Mon, 23 Jun 2008 22:34:54 +0000 (22:34 +0000)] 
Fix some inconsistencies in the code and docs of primitives
We were inconsistent about whether to use the name "MutArr#" or
"MutableArray#". Likewise ByteArr#/ByteArray# and
MutByteArr#/MutableByteArray#.

11 years agoFix the build with GHC 6.4
Ian Lynagh [Mon, 23 Jun 2008 14:44:26 +0000 (14:44 +0000)] 
Fix the build with GHC 6.4

11 years agoDon't rebuild things with the stage2 compiler
Ian Lynagh [Sun, 22 Jun 2008 13:46:13 +0000 (13:46 +0000)] 
Don't rebuild things with the stage2 compiler
It leads to annoying rebuilding when working in a built tree.
We'll handle this differently for 6.10.

11 years agoeditline is now warning-free
Ian Lynagh [Fri, 20 Jun 2008 21:21:10 +0000 (21:21 +0000)] 
editline is now warning-free

11 years agoRemove special handling for character types of characters >= 128, <= 255
Ian Lynagh [Sat, 21 Jun 2008 17:11:00 +0000 (17:11 +0000)] 
Remove special handling for character types of characters >= 128, <= 255
Many of the character types were wrong. Now the asc* names really do mean
ASCII, rather than latin-1.

11 years agoRemove code that isn't used now that we assume that GHC >= 6.4
Ian Lynagh [Fri, 20 Jun 2008 19:30:03 +0000 (19:30 +0000)] 
Remove code that isn't used now that we assume that GHC >= 6.4

11 years agoNow that we require GHC >= 6.4.2, System.IO.Error is always available
Ian Lynagh [Fri, 20 Jun 2008 19:10:59 +0000 (19:10 +0000)] 
Now that we require GHC >= 6.4.2, System.IO.Error is always available

11 years agohpc is -Wall clean
Ian Lynagh [Fri, 20 Jun 2008 14:20:58 +0000 (14:20 +0000)] 
hpc is -Wall clean

11 years agofilepath is now warning-free
Ian Lynagh [Fri, 20 Jun 2008 13:56:52 +0000 (13:56 +0000)] 
filepath is now warning-free

11 years agopretty is now -Wall clean
Ian Lynagh [Fri, 20 Jun 2008 13:53:35 +0000 (13:53 +0000)] 
pretty is now -Wall clean