ghc.git
7 years agofix description of ghci instance env bug
Simon Marlow [Fri, 7 Dec 2012 10:35:13 +0000 (10:35 +0000)] 
fix description of ghci instance env bug

7 years agoAdd -funbox-strict-primitive-fields
Johan Tibell [Thu, 29 Nov 2012 08:06:19 +0000 (00:06 -0800)] 
Add -funbox-strict-primitive-fields

When enabled, this flag causes all strict fields which representation is
smaller or equal to the size of a pointer to be unboxed.

7 years agoMerge branch 'master' of mac:ghc/git/val64/.
Ian Lynagh [Thu, 6 Dec 2012 20:50:45 +0000 (20:50 +0000)] 
Merge branch 'master' of mac:ghc/git/val64/.

7 years agoMake nativeCodeGen return the rest of its UniqSupply
Ian Lynagh [Thu, 6 Dec 2012 19:34:27 +0000 (19:34 +0000)] 
Make nativeCodeGen return the rest of its UniqSupply

7 years agoMerge branch 'master' of darcs.haskell.org:/srv/darcs//ghc
Ian Lynagh [Thu, 6 Dec 2012 16:14:01 +0000 (16:14 +0000)] 
Merge branch 'master' of darcs.haskell.org:/srv/darcs//ghc

7 years agoStop attempting to "trim" data types in interface files
Simon Peyton Jones [Thu, 6 Dec 2012 16:03:16 +0000 (16:03 +0000)] 
Stop attempting to "trim" data types in interface files

Without -O, we previously tried to make interface files smaller
by not including the data constructors of data types.  But
there are a lot of exceptions, notably when Template Haskell is
involved or, more recently, DataKinds.

However Trac #7445 shows that even without TemplateHaskell, using
the Data class and invoking Language.Haskell.TH.Quote.dataToExpQ
is enough to require us to expose the data constructors.

So I've given up on this "optimisation" -- it's probably not
important anyway.  Now I'm simply not attempting to trim off
the data constructors.  The gain in simplicity is worth the
modest cost in interface file growth, which is limited to the
bits reqd to describe those data constructors.

7 years agoUse a MonadIO instance instead of an 'io' function
Ian Lynagh [Wed, 5 Dec 2012 22:46:33 +0000 (22:46 +0000)] 
Use a MonadIO instance instead of an 'io' function

7 years agoAdd the beginnings of support for building vanilla and dynamic at the same time
Ian Lynagh [Wed, 5 Dec 2012 21:42:50 +0000 (21:42 +0000)] 
Add the beginnings of support for building vanilla and dynamic at the same time

7 years agoWhitespace only in iface/IfaceType.lhs
Ian Lynagh [Wed, 5 Dec 2012 20:45:34 +0000 (20:45 +0000)] 
Whitespace only in iface/IfaceType.lhs

7 years agoRefactor findAndReadIface; no functional changes
Ian Lynagh [Wed, 5 Dec 2012 20:35:16 +0000 (20:35 +0000)] 
Refactor findAndReadIface; no functional changes

7 years agoTypo
Ian Lynagh [Wed, 5 Dec 2012 19:27:42 +0000 (19:27 +0000)] 
Typo

7 years agoMerge branch 'master' of darcs.haskell.org:/srv/darcs//ghc
Ian Lynagh [Wed, 5 Dec 2012 18:30:51 +0000 (18:30 +0000)] 
Merge branch 'master' of darcs.haskell.org:/srv/darcs//ghc

7 years agoDocument promotion of existential data types
Simon Peyton Jones [Wed, 5 Dec 2012 16:41:53 +0000 (16:41 +0000)] 
Document promotion of existential data types

Thanks to Richard Eisenberg for writing this.

7 years agoWhen using a GHC plugin, load its interface file very partially: just enough that...
Daniel Vainsencher [Mon, 26 Nov 2012 11:18:50 +0000 (11:18 +0000)] 
When using a GHC plugin, load its interface file very partially: just enough that it can be used, without its rules and instances affecting (and being linked from!) the module being compiled.

7 years agoDon't define DYNAMIC when compiling the dyn way
Ian Lynagh [Wed, 5 Dec 2012 16:29:07 +0000 (16:29 +0000)] 
Don't define DYNAMIC when compiling the dyn way

We want to compile the sources only once, and to produce both vanilla
and dyn object files. This means that the sources can't differ for the
two ways.

This needed a bit of a kludge to get keepCAFsForGHCi included only in
the dynamic library.

7 years agoIn FP_GCC_VERSION, test $CC not $GCC
Ian Lynagh [Wed, 5 Dec 2012 12:37:52 +0000 (12:37 +0000)] 
In FP_GCC_VERSION, test $CC not $GCC

$GCC is empty when autoreconf 2.56 or 2.59 is used, although it works
with 2.67. If testing $GCC with 2.5* worked in the past then I'm not
sure when/why it broke.

7 years agoMerge branch 'master' of darcs.haskell.org:/home/darcs/ghc
Simon Peyton Jones [Wed, 5 Dec 2012 11:18:26 +0000 (11:18 +0000)] 
Merge branch 'master' of darcs.haskell.org:/home/darcs/ghc

7 years agoAdd comment
Simon Peyton Jones [Wed, 5 Dec 2012 11:17:20 +0000 (11:17 +0000)] 
Add comment

7 years agoMerge branch 'master' of http://darcs.haskell.org/ghc
Simon Peyton Jones [Wed, 5 Dec 2012 11:07:53 +0000 (11:07 +0000)] 
Merge branch 'master' of darcs.haskell.org/ghc

7 years agoAllow existential data constructors to be promoted
Simon Peyton Jones [Wed, 5 Dec 2012 11:07:38 +0000 (11:07 +0000)] 
Allow existential data constructors to be promoted

This reverts the change in Trac #7347, which prevented promotion
of existential data constructors.  Ones with constraints in
their types, or kind polymorphism, still can't be promoted.

7 years agoRevert "Fix pprPanic so that it doesn't throw away the SDoc part of the error."
Ian Lynagh [Tue, 4 Dec 2012 19:36:49 +0000 (19:36 +0000)] 
Revert "Fix pprPanic so that it doesn't throw away the SDoc part of the error."

This reverts commit e6ce335e8e3ba0718efd234910185e4257424562.

pprPanic doesn't throw the Doc away: It gets passed in the PprPanic
constructor.

7 years agoRearrange configure.ac a bit
Ian Lynagh [Tue, 4 Dec 2012 15:12:11 +0000 (15:12 +0000)] 
Rearrange configure.ac a bit

Anything that uses gcc needs to happen after we've made the mingw
inplace tree on Windows.

7 years agoRearrange configure.ac a bit
Ian Lynagh [Tue, 4 Dec 2012 15:12:11 +0000 (15:12 +0000)] 
Rearrange configure.ac a bit

Anything that uses gcc needs to happen after we've made the mingw
inplace tree on Windows.

7 years agoMerge branch 'master' of http://darcs.haskell.org/ghc
Simon Peyton Jones [Tue, 4 Dec 2012 12:03:39 +0000 (12:03 +0000)] 
Merge branch 'master' of darcs.haskell.org/ghc

7 years agoFix pprPanic so that it doesn't throw away the SDoc part of the error.
Erik de Castro Lopo [Mon, 3 Dec 2012 01:28:39 +0000 (12:28 +1100)] 
Fix pprPanic so that it doesn't throw away the SDoc part of the error.

7 years agoMerge branch 'master' of http://darcs.haskell.org/ghc
Simon Peyton Jones [Tue, 4 Dec 2012 11:17:16 +0000 (11:17 +0000)] 
Merge branch 'master' of darcs.haskell.org/ghc

7 years agoFix buglet in -ddump-minimal-imports (Trac #7476)
Simon Peyton Jones [Tue, 4 Dec 2012 10:58:36 +0000 (10:58 +0000)] 
Fix buglet in -ddump-minimal-imports (Trac #7476)

We were mixing up the *implicit* import of Prelude
with a user-written import declaration

7 years agoMake "sync-all pull --rebase" work
Simon Marlow [Mon, 3 Dec 2012 09:35:37 +0000 (09:35 +0000)] 
Make "sync-all pull --rebase" work

By filtering out the --rebase when fetching submodules

7 years agoUse -e rather than -f when checking for libraries/time/.git
Ian Lynagh [Sun, 2 Dec 2012 21:52:00 +0000 (21:52 +0000)] 
Use -e rather than -f when checking for libraries/time/.git

Apparently .git can be a file rather than a directory in some cases

7 years agoTweak sync-all
Ian Lynagh [Sun, 2 Dec 2012 20:51:35 +0000 (20:51 +0000)] 
Tweak sync-all

It wasn't handling new submodules appearing

7 years agoAdd a check for old time packaes
Ian Lynagh [Sun, 2 Dec 2012 17:45:44 +0000 (17:45 +0000)] 
Add a check for old time packaes

7 years agoWhen pulling, only 'fetch' in submodules
Ian Lynagh [Sun, 2 Dec 2012 17:44:04 +0000 (17:44 +0000)] 
When pulling, only 'fetch' in submodules

7 years agoUse a submodule for the time package
Ian Lynagh [Sun, 2 Dec 2012 16:49:36 +0000 (16:49 +0000)] 
Use a submodule for the time package

This bring the time package into line with how we handle other
packages.

7 years agoDon't get submodules when 'get'ing
Ian Lynagh [Sun, 2 Dec 2012 15:40:01 +0000 (15:40 +0000)] 
Don't get submodules when 'get'ing

Leave it to 'git submodule init/update'

7 years agoUpdate haskeline submodule
Ian Lynagh [Sun, 2 Dec 2012 14:18:20 +0000 (14:18 +0000)] 
Update haskeline submodule

7 years agoTweak comments
Ian Lynagh [Sun, 2 Dec 2012 12:57:53 +0000 (12:57 +0000)] 
Tweak comments

7 years agoMerge branch 'ticket-7442' of git://github.com/phonohawk/ghc
Ian Lynagh [Sun, 2 Dec 2012 12:55:35 +0000 (12:55 +0000)] 
Merge branch 'ticket-7442' of git://github.com/phonohawk/ghc

7 years agoMac OS X 10.6 needed for pthread_threadid_np(), fixes #7356
Ian Lynagh [Sat, 1 Dec 2012 23:22:48 +0000 (23:22 +0000)] 
Mac OS X 10.6 needed for pthread_threadid_np(), fixes #7356

Based on a patch from Thorkil Naur.

7 years agoisTauTy should be True for LitTy (see Trac #7459)
Simon Peyton Jones [Sat, 1 Dec 2012 18:29:21 +0000 (18:29 +0000)] 
isTauTy should be True for LitTy (see Trac #7459)

7 years agoRemove dead code predTreePredType
Simon Peyton Jones [Sat, 1 Dec 2012 18:25:58 +0000 (18:25 +0000)] 
Remove dead code predTreePredType

7 years agoMerge branch 'master' of ssh://darcs.haskell.org/srv/darcs/ghc
Richard Eisenberg [Sat, 1 Dec 2012 17:06:49 +0000 (12:06 -0500)] 
Merge branch 'master' of ssh://darcs.haskell.org/srv/darcs/ghc

7 years agoAdded the docs/core-spec README
Richard Eisenberg [Sat, 1 Dec 2012 16:59:38 +0000 (11:59 -0500)] 
Added the docs/core-spec README

7 years agoAdded GHC formalism to the GHC source tree.
Richard Eisenberg [Sat, 1 Dec 2012 16:06:02 +0000 (11:06 -0500)] 
Added GHC formalism to the GHC source tree.

As per a request from Simon PJ, I wrote up a formalism of the core
language in GHC, System FC. The writeup lives in docs/core-spec.
I also added comments to a number of files dealing with the core
language reminding authors to update the formalism when updating the
code. In the next commit will be a README file in docs/core-spec
with more details of how to do this.

7 years agoMerge branch 'master' of darcs.haskell.org:/srv/darcs//ghc
Ian Lynagh [Fri, 30 Nov 2012 18:51:58 +0000 (18:51 +0000)] 
Merge branch 'master' of darcs.haskell.org:/srv/darcs//ghc

7 years agoUpdate submodules
Ian Lynagh [Fri, 30 Nov 2012 18:50:29 +0000 (18:50 +0000)] 
Update submodules

7 years agoUpdate dependencies
Ian Lynagh [Fri, 30 Nov 2012 17:55:56 +0000 (17:55 +0000)] 
Update dependencies

7 years agoRemove case from coreLintExpr dealing with types, as it is not used.
Richard Eisenberg [Fri, 30 Nov 2012 16:13:16 +0000 (11:13 -0500)] 
Remove case from coreLintExpr dealing with types, as it is not used.

7 years agotypo
Gabor Greif [Fri, 30 Nov 2012 14:18:43 +0000 (15:18 +0100)] 
typo

7 years agoDetab
Ian Lynagh [Fri, 30 Nov 2012 14:13:36 +0000 (14:13 +0000)] 
Detab

7 years agoMerge branch 'master' of darcs.haskell.org:/srv/darcs//ghc
Ian Lynagh [Fri, 30 Nov 2012 14:03:04 +0000 (14:03 +0000)] 
Merge branch 'master' of darcs.haskell.org:/srv/darcs//ghc

7 years agoLink in-tree libffi to rts. Fixes trac #5743.
Peter Trommler [Fri, 30 Nov 2012 12:40:10 +0000 (13:40 +0100)] 
Link in-tree libffi to rts. Fixes trac #5743.

7 years agoRemove unused PYTHON in build system
Ian Lynagh [Fri, 30 Nov 2012 12:07:07 +0000 (12:07 +0000)] 
Remove unused PYTHON in build system

7 years agoMake ghc-pkg print less on error.
Ben Millwood [Fri, 7 Sep 2012 16:22:46 +0000 (17:22 +0100)] 
Make ghc-pkg print less on error.

7 years agoExtend parser to allow specification of RULES that never fire. #7162
Andrew Farmer [Thu, 4 Oct 2012 21:51:28 +0000 (16:51 -0500)] 
Extend parser to allow specification of RULES that never fire. #7162

7 years agoMerge branch 'master' of ssh://darcs.haskell.org/srv/darcs/ghc
Iavor S. Diatchki [Fri, 30 Nov 2012 01:59:02 +0000 (17:59 -0800)] 
Merge branch 'master' of ssh://darcs.haskell.org/srv/darcs/ghc

7 years agoRemove accidentally-commited testing aid
Ian Lynagh [Fri, 30 Nov 2012 01:45:12 +0000 (01:45 +0000)] 
Remove accidentally-commited testing aid

7 years agolibffi build system tweaks
Ian Lynagh [Thu, 29 Nov 2012 23:52:07 +0000 (23:52 +0000)] 
libffi build system tweaks

7 years agoAdd ":info!" to GHCi. This shows all instances without filtering first.
Iavor S. Diatchki [Fri, 30 Nov 2012 01:14:48 +0000 (17:14 -0800)] 
Add ":info!" to GHCi.  This shows all instances without filtering first.

The default behavior of :info is to show only those instances of
for a type, where all relevant type constructor names are in scope.
This keeps down the number of instances shown to the user.

In some cases, it is nice to be able to see all instances for a type.
This patch implements this with the :info! command.

7 years agoAdd configure option to use system provided libffi; fixes #5743
Ian Lynagh [Thu, 29 Nov 2012 22:22:39 +0000 (22:22 +0000)] 
Add configure option to use system provided libffi; fixes #5743

Based on patch from Peter Trommler:

    From 293495d40f62e691520331a41c6d85d82e120169 Mon Sep 17 00:00:00 2001
    From: Peter Trommler <ptrommler@acm.org>
    Date: Sun, 21 Oct 2012 18:47:01 +0200
    Subject: [PATCH] Add configure option to use system provided libffi This
     fixes track # 5743 and #4496.

7 years agoRemove a use of printf
Ian Lynagh [Thu, 29 Nov 2012 21:32:09 +0000 (21:32 +0000)] 
Remove a use of printf

It looks like it would fail anyway, as it 'show'ed its argument before
passing it on to printf.

7 years agoSmall refactoring
Ian Lynagh [Thu, 29 Nov 2012 21:25:59 +0000 (21:25 +0000)] 
Small refactoring

7 years agoWhitespace only in compiler/ghci/LibFFI.hsc
Ian Lynagh [Thu, 29 Nov 2012 21:16:06 +0000 (21:16 +0000)] 
Whitespace only in compiler/ghci/LibFFI.hsc

7 years agoReplace all uses of ghcError with throwGhcException and purge ghcError.
Erik de Castro Lopo [Thu, 29 Nov 2012 10:16:30 +0000 (21:16 +1100)] 
Replace all uses of ghcError with throwGhcException and purge ghcError.

7 years agoFix #7231: don't unload stable modules when there is an error later
Simon Marlow [Tue, 27 Nov 2012 08:55:31 +0000 (08:55 +0000)] 
Fix #7231: don't unload stable modules when there is an error later

7 years agotypos in note
Gabor Greif [Mon, 26 Nov 2012 15:04:33 +0000 (16:04 +0100)] 
typos in note

7 years agoMerge branch 'master' of http://darcs.haskell.org/ghc
Simon Peyton Jones [Mon, 26 Nov 2012 12:18:54 +0000 (12:18 +0000)] 
Merge branch 'master' of darcs.haskell.org/ghc

7 years agoImprove error message when a variable is used both as kind and type variable
Simon Peyton Jones [Mon, 26 Nov 2012 12:18:15 +0000 (12:18 +0000)] 
Improve error message when a variable is used both as kind and type variable

Fixes Trac #7404

7 years agoImprove kind inference for tuple types
Simon Peyton Jones [Mon, 26 Nov 2012 12:07:37 +0000 (12:07 +0000)] 
Improve kind inference for tuple types

Trac #7410 pointed out a terrible error message, which is
much improved by this patch.

7 years agoAccurately report usage of newtype data constructors in FFI declarations
Simon Peyton Jones [Mon, 26 Nov 2012 12:05:21 +0000 (12:05 +0000)] 
Accurately report usage of newtype data constructors in FFI declarations

See Note [Newtype constructor usage in foreign declarations] in TcForeign.
It's quite non-trivial to say which newtype constructor are used in
foreign import/export declarations, and I had to do a bit of refactoring
to achieve it.  (Say hello to the X5 bus from Oxford to Cambridge.)
It's a bit tiresome, with some more plumbing, but not hard.

Trac #7048 triggered this change.

7 years agoMake Constraint and * look identical in Core (System FC)
Simon Peyton Jones [Mon, 26 Nov 2012 11:56:56 +0000 (11:56 +0000)] 
Make Constraint and * look identical in Core (System FC)

Fixes Trac #7451. See Note [Kind Constraint and kind *] in Kind.lhs.

7 years agoUse submodules for repositories with upstreams
Ian Lynagh [Sun, 25 Nov 2012 18:27:40 +0000 (18:27 +0000)] 
Use submodules for repositories with upstreams

7 years agoNormalise command names differently in sync-all
Ian Lynagh [Sun, 25 Nov 2012 18:10:01 +0000 (18:10 +0000)] 
Normalise command names differently in sync-all

7 years agoFix broken -fPIC on Darwin/PPC (#7442)
PHO [Sat, 24 Nov 2012 11:07:27 +0000 (20:07 +0900)] 
Fix broken -fPIC on Darwin/PPC (#7442)

The workaround described in note [darwin-x86-pic] applies to Darwin/PPC too.

7 years agoRevert "Move seq's fixity declaration info primops.txt.pp"
Ian Lynagh [Fri, 23 Nov 2012 18:46:04 +0000 (18:46 +0000)] 
Revert "Move seq's fixity declaration info primops.txt.pp"

This reverts commit eb5196c48480c7dbec25aa175e43b9c20277f29c.

For some reason it didn't work, and I don't have time to look into it
right now.

7 years agoMerge branch 'master' of darcs.haskell.org:/srv/darcs//ghc
Ian Lynagh [Fri, 23 Nov 2012 18:04:14 +0000 (18:04 +0000)] 
Merge branch 'master' of darcs.haskell.org:/srv/darcs//ghc

7 years agoAdd a --reset-hpcdirs flag to hpc
Ian Lynagh [Fri, 23 Nov 2012 18:03:22 +0000 (18:03 +0000)] 
Add a --reset-hpcdirs flag to hpc

7 years agode-tab hpc
Ian Lynagh [Fri, 23 Nov 2012 17:41:10 +0000 (17:41 +0000)] 
de-tab hpc

7 years agoSeparate warning flags from other flags in validate-settings.mk
Ian Lynagh [Fri, 23 Nov 2012 17:22:42 +0000 (17:22 +0000)] 
Separate warning flags from other flags in validate-settings.mk

7 years ago"hpc version" now shows the version number from the .cabal file
Ian Lynagh [Fri, 23 Nov 2012 17:07:05 +0000 (17:07 +0000)] 
"hpc version" now shows the version number from the .cabal file

7 years agoMerge branch 'master' of darcs.haskell.org:/home/darcs/ghc
Simon Peyton Jones [Fri, 23 Nov 2012 16:58:18 +0000 (16:58 +0000)] 
Merge branch 'master' of darcs.haskell.org:/home/darcs/ghc

7 years agoUse the right environment for tidying the types of a data constructor
Simon Peyton Jones [Fri, 23 Nov 2012 16:57:57 +0000 (16:57 +0000)] 
Use the right environment for tidying the types of a data constructor

Fixes Trac #7438

7 years agoFix building on Sparc/Solaris with non-GNU linker; fixes #5407
Ian Lynagh [Fri, 23 Nov 2012 16:54:15 +0000 (16:54 +0000)] 
Fix building on Sparc/Solaris with non-GNU linker; fixes #5407

Patch from maeder.

7 years agoMove seq's fixity declaration info primops.txt.pp
Ian Lynagh [Fri, 23 Nov 2012 16:26:23 +0000 (16:26 +0000)] 
Move seq's fixity declaration info primops.txt.pp

7 years agotypo
Gabor Greif [Fri, 23 Nov 2012 16:07:14 +0000 (17:07 +0100)] 
typo

7 years agoAdd fixity information to primops (ticket #6026)
Michal Terepeta [Mon, 12 Nov 2012 20:31:32 +0000 (21:31 +0100)] 
Add fixity information to primops (ticket #6026)

7 years agoadd embedded vendor
Gabor Greif [Fri, 23 Nov 2012 16:05:48 +0000 (17:05 +0100)] 
add embedded vendor

7 years agoUnconditionally disable DYNAMIC_BY_DEFAULT for now
Ian Lynagh [Fri, 23 Nov 2012 15:49:42 +0000 (15:49 +0000)] 
Unconditionally disable DYNAMIC_BY_DEFAULT for now

While we work out some details, and wait for cabal-install's in the
wild to catch up.

7 years agoEnable GhcWithInterpreter when DYNAMIC_BY_DEFAULT is on
Ian Lynagh [Fri, 23 Nov 2012 15:48:10 +0000 (15:48 +0000)] 
Enable GhcWithInterpreter when DYNAMIC_BY_DEFAULT is on

7 years agoEnable dynamic-by-default for unregisterised arches
Ian Lynagh [Thu, 22 Nov 2012 21:35:29 +0000 (21:35 +0000)] 
Enable dynamic-by-default for unregisterised arches

This makes ghci work on platforms without any special support in the
GHCi linker:

Prelude> (System.Info.os, System.Info.arch)
("linux","s390")

7 years agofix some typos
Gabor Greif [Wed, 21 Nov 2012 17:25:50 +0000 (18:25 +0100)] 
fix some typos

7 years agoReject promoted constructors when -XDataKinds is not enabled (FIX #7433)
Jose Pedro Magalhaes [Wed, 21 Nov 2012 13:13:44 +0000 (13:13 +0000)] 
Reject promoted constructors when -XDataKinds is not enabled (FIX #7433)

7 years agoC backend: put the entry block first
Simon Marlow [Mon, 19 Nov 2012 13:06:41 +0000 (13:06 +0000)] 
C backend: put the entry block first

7 years agoCode-size optimisation for top-level indirections (#7308)
Simon Marlow [Tue, 9 Oct 2012 07:49:25 +0000 (08:49 +0100)] 
Code-size optimisation for top-level indirections (#7308)

Top-level indirections are often generated when there is a cast, e.g.

foo :: T
foo = bar `cast` (some coercion)

For these we were generating a full-blown CAF, which is a fair chunk
of code.

This patch makes these indirections generate a single IND_STATIC
closure (4 words) instead.  This is exactly what the CAF would
evaluate to eventually anyway, we're just shortcutting the whole
process.

7 years agoRemove some dependencies
Ian Lynagh [Sun, 18 Nov 2012 01:11:55 +0000 (01:11 +0000)] 
Remove some dependencies

I don't think we need these, and they haven't been doing anything
useful for dynamic-by-default builds anyway as they hardcode the 'v'
way.

7 years agoAdd a stddef.h #include to C file generated by DeriveConstants
Ian Lynagh [Sat, 17 Nov 2012 15:55:34 +0000 (15:55 +0000)] 
Add a stddef.h #include to C file generated by DeriveConstants

7 years agoWe now assume that offsetof() is always defined
Ian Lynagh [Fri, 16 Nov 2012 15:34:18 +0000 (15:34 +0000)] 
We now assume that offsetof() is always defined

7 years agoC backend: ignore MO_Touch
Simon Marlow [Fri, 16 Nov 2012 14:03:49 +0000 (14:03 +0000)] 
C backend: ignore MO_Touch

7 years agofix syntax error in generated C (#7407)
Simon Marlow [Fri, 16 Nov 2012 13:54:52 +0000 (13:54 +0000)] 
fix syntax error in generated C (#7407)

7 years agoMerge branch 'master' of darcs.haskell.org:/home/darcs/ghc
Simon Peyton Jones [Fri, 16 Nov 2012 12:52:12 +0000 (12:52 +0000)] 
Merge branch 'master' of darcs.haskell.org:/home/darcs/ghc

7 years agoDocument -XTypeHoles
Simon Peyton Jones [Fri, 16 Nov 2012 12:46:55 +0000 (12:46 +0000)] 
Document -XTypeHoles

Thanks to Thijs Alkemade for writing this documentation