ghc.git
8 years agomake sure libraries/dph/ghc.mk is included after the other DPH ghc.mk
Simon Marlow [Tue, 12 Jul 2011 14:38:37 +0000 (15:38 +0100)] 
make sure libraries/dph/ghc.mk is included after the other DPH ghc.mk
files, so that it can refer to variables defined there.  (necessary,
but perhaps not sufficient, to fix the DPH build bugs)

8 years agoFix DLL/SO loading (see #5313).
Simon Marlow [Tue, 12 Jul 2011 11:16:17 +0000 (12:16 +0100)] 
Fix DLL/SO loading (see #5313).

The code in here is a bit of a mess.  I've fixed up some
inconsistencies I can see, but it could do with an overhaul.

8 years agoFix bug in parsing of module headers (see #5243)
Simon Marlow [Tue, 12 Jul 2011 10:48:00 +0000 (11:48 +0100)] 
Fix bug in parsing of module headers (see #5243)

8 years agoomit the local MD5 implementation if we can get it from
Simon Marlow [Tue, 12 Jul 2011 09:41:22 +0000 (10:41 +0100)] 
omit the local MD5 implementation if we can get it from
GHC.Fingerprint in base instead.

8 years agoDebugger commands do not work with -fno-ghci-sandbox, so emit useful
Simon Marlow [Tue, 12 Jul 2011 09:40:50 +0000 (10:40 +0100)] 
Debugger commands do not work with -fno-ghci-sandbox, so emit useful
error messages.

8 years agoderive Typeable (eliminate deprecation warnings for mkTyCon)
Simon Marlow [Mon, 11 Jul 2011 13:30:39 +0000 (14:30 +0100)] 
derive Typeable (eliminate deprecation warnings for mkTyCon)

8 years agofix Binary instance for TyCon following Typeable implementation
Simon Marlow [Mon, 11 Jul 2011 13:06:01 +0000 (14:06 +0100)] 
fix Binary instance for TyCon following Typeable implementation
changes

8 years agothe time package uses mkTyCon, turn off deprecation warnings for now
Simon Marlow [Mon, 11 Jul 2011 12:24:40 +0000 (13:24 +0100)] 
the time package uses mkTyCon, turn off deprecation warnings for now

8 years agoHad to move some Typeable things around to avoid orphan instances.
Simon Marlow [Mon, 11 Jul 2011 12:00:20 +0000 (13:00 +0100)] 
Had to move some Typeable things around to avoid orphan instances.

8 years agoremove getOrSetTypeableStore. This is no longer used after the switch
Simon Marlow [Fri, 8 Jul 2011 09:47:57 +0000 (10:47 +0100)] 
remove getOrSetTypeableStore.  This is no longer used after the switch
to using MD5 hashes to identify TypeReps in the Typeable library.

8 years agoChange the code generated for deriving Typeable, to match the changes
Simon Marlow [Fri, 8 Jul 2011 09:47:19 +0000 (10:47 +0100)] 
Change the code generated for deriving Typeable, to match the changes
to the Typeable library.  We now generate an MD5 hash of the
fully-qualified TyCon name at compile time.

8 years agomove computeFingerprint from MkIface to Binary
Simon Marlow [Fri, 8 Jul 2011 09:42:13 +0000 (10:42 +0100)] 
move computeFingerprint from MkIface to Binary

8 years agoAdd 64-bit signed and unsigned integer literals to HsSyn.
Simon Marlow [Fri, 8 Jul 2011 09:41:22 +0000 (10:41 +0100)] 
Add 64-bit signed and unsigned integer literals to HsSyn.
No concrete syntax yet, but I need to be able to use these in code
generated for derived Typeable instances.

8 years agoMake an extension for interruptible FFI calls
Ian Lynagh [Mon, 11 Jul 2011 17:24:22 +0000 (18:24 +0100)] 
Make an extension for interruptible FFI calls

8 years agoFix "./sync-all get"
Ian Lynagh [Fri, 8 Jul 2011 13:48:06 +0000 (14:48 +0100)] 
Fix "./sync-all get"

8 years agoFix the build
Ian Lynagh [Fri, 8 Jul 2011 12:31:51 +0000 (13:31 +0100)] 
Fix the build

The seq# case in the new codegen was being shadowed by a more general
case.

8 years agoRemove old ./quickcheck/ stuff
Ian Lynagh [Fri, 8 Jul 2011 00:51:18 +0000 (01:51 +0100)] 
Remove old ./quickcheck/ stuff

8 years agoBump Cabal deps
Ian Lynagh [Thu, 7 Jul 2011 19:28:02 +0000 (20:28 +0100)] 
Bump Cabal deps

8 years agoRandom is now only needed to build dph
Ian Lynagh [Wed, 6 Jul 2011 19:30:58 +0000 (20:30 +0100)] 
Random is now only needed to build dph

8 years agoRelax some dependencies
Ian Lynagh [Wed, 6 Jul 2011 19:25:28 +0000 (20:25 +0100)] 
Relax some dependencies

8 years agoRemove mention of -fno-method-sharing from comments and docs
Ian Lynagh [Wed, 6 Jul 2011 11:25:27 +0000 (12:25 +0100)] 
Remove mention of -fno-method-sharing from comments and docs

8 years agoPort 'Add two new primops seq# and spark#' (be54417) to new codegen.
Edward Z. Yang [Fri, 8 Jul 2011 00:48:48 +0000 (20:48 -0400)] 
Port 'Add two new primops seq# and spark#' (be54417) to new codegen.

Signed-off-by: Edward Z. Yang <ezyang@mit.edu>
8 years agoDon't export the _info symbol for the data constructor worker bindings
Max Bolingbroke [Wed, 6 Jul 2011 17:01:02 +0000 (18:01 +0100)] 
Don't export the _info symbol for the data constructor worker bindings

This is safe because GHC never generates a fast call to a data constructor
worker: if the call is seen statically it will be eta-expanded and the
allocation of the data will be inlined. We still need to export the _closure
in case the constructor is used in an unapplied fashion.

8 years agoRefactoring: explicitly mark whether we have an info table in RawCmm
Max Bolingbroke [Wed, 6 Jul 2011 15:18:09 +0000 (16:18 +0100)] 
Refactoring: explicitly mark whether we have an info table in RawCmm

I introduced this to support explicitly recording the info table label
in RawCmm for another patch I am working on, but it turned out to lead
to significant simplification in those parts of the compiler that
consume RawCmm.

Now, instead of lots of tests for null [CmmStatic] we have a simple
test of a Maybe, and have reduced the number of guys that need to know
how to convert entry->info labels by a TON. There are only 3 callers
of that function now!

8 years agofix bug: check_out_flag should be checked_out_tree
Simon Marlow [Wed, 6 Jul 2011 08:47:02 +0000 (09:47 +0100)] 
fix bug: check_out_flag should be checked_out_tree

8 years agoNew functionality for sync-all to support bare repos, mirroring the main repo layout.
George Roldugin [Fri, 1 Jul 2011 06:07:54 +0000 (16:07 +1000)] 
New functionality for sync-all to support bare repos, mirroring the main repo layout.

Signed-off-by: George Roldugin <groldugin@cse.unsw.edu.au>
8 years agoTypo
Austin Seipp [Mon, 4 Jul 2011 18:21:40 +0000 (13:21 -0500)] 
Typo

8 years agoAdd documentation for compiler plugins
Austin Seipp [Mon, 4 Jul 2011 17:41:50 +0000 (12:41 -0500)] 
Add documentation for compiler plugins

8 years agoFix typo in Safe Haskell doc
David Terei [Wed, 6 Jul 2011 08:17:12 +0000 (01:17 -0700)] 
Fix typo in Safe Haskell doc

8 years agoSome general code cleaning in LLVM backend
David Terei [Wed, 6 Jul 2011 08:16:16 +0000 (01:16 -0700)] 
Some general code cleaning in LLVM backend

8 years agoFix printing of llvm IR to work with llvm-3.0
David Terei [Wed, 6 Jul 2011 06:55:10 +0000 (23:55 -0700)] 
Fix printing of llvm IR to work with llvm-3.0

8 years agoMerge branch 'master' of http://darcs.haskell.org/ghc
Ian Lynagh [Tue, 5 Jul 2011 19:41:09 +0000 (20:41 +0100)] 
Merge branch 'master' of darcs.haskell.org/ghc

8 years agoDon't export SRT labels
Max Bolingbroke [Mon, 4 Jul 2011 16:44:43 +0000 (17:44 +0100)] 
Don't export SRT labels

8 years agoRemove the unused CmmAlign and CmmDataLabel from CmmStatic
Max Bolingbroke [Tue, 5 Jul 2011 08:31:08 +0000 (09:31 +0100)] 
Remove the unused CmmAlign and CmmDataLabel from CmmStatic

8 years agoRefactoring: use a structured CmmStatics type rather than [CmmStatic]
Max Bolingbroke [Tue, 5 Jul 2011 08:23:58 +0000 (09:23 +0100)] 
Refactoring: use a structured CmmStatics type rather than [CmmStatic]

I observed that the [CmmStatics] within CmmData uses the list in a very stylised way.
The first item in the list is almost invariably a CmmDataLabel. Many parts of the
compiler pattern match on this list and fail if this is not true.

This patch makes the invariant explicit by introducing a structured type CmmStatics
that holds the label and the list of remaining [CmmStatic].

There is one wrinkle: the x86 backend sometimes wants to output an alignment directive just
before the label. However, this can be easily fixed up by parameterising the native codegen
over the type of CmmStatics (though the GenCmmTop parameterisation) and using a pair
(Alignment, CmmStatics) there instead.

As a result, I think we will be able to remove CmmAlign and CmmDataLabel from the CmmStatic
data type, thus nuking a lot of code and failing pattern matches. This change will come as part
of my next patch.

8 years agoRemove -fmethod-sharing
Ian Lynagh [Sun, 3 Jul 2011 20:07:31 +0000 (21:07 +0100)] 
Remove -fmethod-sharing

It was already deprecated, and marked for removal in 7.2.

8 years agoRemove the Opt_Generics constructor
Ian Lynagh [Sun, 3 Jul 2011 18:53:04 +0000 (19:53 +0100)] 
Remove the Opt_Generics constructor

We no longer advertise that we support the Generics extension,
although we still do accept -XGenerics and -XNoGenerics flags
(but warn that we are ignoring them).

I also remove the even older -fgenerics and -fno-generics flags.

8 years ago-optm is now deprecated
Ian Lynagh [Sun, 3 Jul 2011 15:58:03 +0000 (16:58 +0100)] 
-optm is now deprecated

8 years agoFix typos
Ian Lynagh [Sun, 3 Jul 2011 15:52:21 +0000 (16:52 +0100)] 
Fix typos

8 years agodefaultErrorHandler now only takes LogAction
Ian Lynagh [Sun, 3 Jul 2011 02:11:32 +0000 (03:11 +0100)] 
defaultErrorHandler now only takes LogAction

It used to take a whole DynFlags, but that meant we had to
create a DynFlags with (panic "No settings") for settings, as
we didn't have any real settings.

Now we just pass the LogAction, which is all that it actually needed.
The default is exported from DynFlags as defaultLogAction.

8 years agoFix building docs
Ian Lynagh [Sun, 3 Jul 2011 02:11:13 +0000 (03:11 +0100)] 
Fix building docs

8 years agoFix a copy-and-paste-o
Ian Lynagh [Sat, 2 Jul 2011 20:04:43 +0000 (21:04 +0100)] 
Fix a copy-and-paste-o

8 years agoRemove old release note files
Ian Lynagh [Sat, 2 Jul 2011 17:08:56 +0000 (18:08 +0100)] 
Remove old release note files

8 years agoFlip fplugin options to restore hasarg parsing
Max Bolingbroke [Thu, 30 Jun 2011 11:33:55 +0000 (12:33 +0100)] 
Flip fplugin options to restore hasarg parsing

8 years agoBump version number to 7.3
Ian Lynagh [Fri, 1 Jul 2011 21:38:19 +0000 (22:38 +0100)] 
Bump version number to 7.3

8 years agoRemove outdated paragraph from docs
Ian Lynagh [Fri, 1 Jul 2011 14:25:14 +0000 (15:25 +0100)] 
Remove outdated paragraph from docs

8 years agoRemove some conditional CPP from DriverPipeline
Ian Lynagh [Thu, 30 Jun 2011 01:30:01 +0000 (02:30 +0100)] 
Remove some conditional CPP from DriverPipeline

8 years agoRemove conditional CPP in DsForeign
Ian Lynagh [Thu, 30 Jun 2011 01:13:12 +0000 (02:13 +0100)] 
Remove conditional CPP in DsForeign

8 years agoupdate freeHaskellFuncationPtr following changes to x86 adjustors
Simon Marlow [Thu, 30 Jun 2011 14:50:19 +0000 (15:50 +0100)] 
update freeHaskellFuncationPtr following changes to x86 adjustors
(fixes various ffi test failures on x86.  This change was supposed to
be part of 9f61598ce7b0cb3448e8f0c3d627c0ca47b7f55f, but somehow it
got lost).

8 years agosupport using local mirrors (created by git clone --mirror)
Simon Marlow [Thu, 30 Jun 2011 14:30:21 +0000 (15:30 +0100)] 
support using local mirrors (created by git clone --mirror)

8 years agodoc tweak: mention that UNPACK doesn't work without -O
Simon Marlow [Tue, 28 Jun 2011 12:42:00 +0000 (13:42 +0100)] 
doc tweak: mention that UNPACK doesn't work without -O

8 years agoBetter heap profiling for pinned objects (e.g. ByteStrings).
Simon Marlow [Wed, 15 Jun 2011 15:40:16 +0000 (16:40 +0100)] 
Better heap profiling for pinned objects (e.g. ByteStrings).
Previously we were completely ignoring these, due to the difficulties
of traversing the pinned blocks (the objects are not necessarily
end-to-end, we can't tell how large the gaps are).  Now just count the
whole block as a big ARR_WORDS, so at least we're accounting for the
memory and it has the right type.

8 years agoMention ByteString and Text to docs for OverloadedStrings
Simon Marlow [Tue, 14 Jun 2011 08:33:17 +0000 (09:33 +0100)] 
Mention ByteString and Text to docs for OverloadedStrings

8 years agoremove out of date comment about instance versioning, replace it with
Simon Marlow [Wed, 1 Jun 2011 10:25:12 +0000 (11:25 +0100)] 
remove out of date comment about instance versioning, replace it with
a link to the Commentary where the current story is described.

8 years agoDon't zonk skolems; eliminates a debug WARNING
Simon Peyton Jones [Thu, 30 Jun 2011 16:47:36 +0000 (17:47 +0100)] 
Don't zonk skolems; eliminates a debug WARNING

8 years agoReformat warning slightly
Simon Peyton Jones [Thu, 30 Jun 2011 16:47:19 +0000 (17:47 +0100)] 
Reformat warning slightly

8 years agoUse isNonRuleLoopBreaker where possible, not isLoopBreaker
Simon Peyton Jones [Thu, 30 Jun 2011 16:47:05 +0000 (17:47 +0100)] 
Use isNonRuleLoopBreaker where possible, not isLoopBreaker

8 years agoRemove now-unnecessary hack in CoreFVs.ruleRhsFVS
Simon Peyton Jones [Thu, 30 Jun 2011 16:46:22 +0000 (17:46 +0100)] 
Remove now-unnecessary hack in CoreFVs.ruleRhsFVS

8 years agoFix Trac #5286: getPredTyDescription
Simon Peyton Jones [Thu, 30 Jun 2011 16:45:00 +0000 (17:45 +0100)] 
Fix Trac #5286: getPredTyDescription

8 years agoMerge branch 'master' of http://darcs.haskell.org/ghc
Simon Peyton Jones [Thu, 30 Jun 2011 13:49:14 +0000 (14:49 +0100)] 
Merge branch 'master' of darcs.haskell.org/ghc

8 years agoA second bite at the case-floating patch
Simon Peyton Jones [Thu, 30 Jun 2011 13:48:16 +0000 (14:48 +0100)] 
A second bite at the case-floating patch

When floating a case outwards we must be careful to clone
the binders, since their scope is widening.

Plus lots of tidying up.

8 years agoFix CSE to do substitution properly
Simon Peyton Jones [Thu, 30 Jun 2011 13:40:25 +0000 (14:40 +0100)] 
Fix CSE to do substitution properly

It was inconsistent before, now it's right

8 years agoRename to avoid name clashes elsewhere
Simon Peyton Jones [Thu, 30 Jun 2011 13:13:27 +0000 (14:13 +0100)] 
Rename to avoid name clashes elsewhere

8 years agoRestore home-package-plugin functionality
Max Bolingbroke [Thu, 30 Jun 2011 09:55:28 +0000 (10:55 +0100)] 
Restore home-package-plugin functionality

8 years agoSafeHaskell: Try to be consistent in naming.
David Terei [Thu, 30 Jun 2011 00:40:49 +0000 (17:40 -0700)] 
SafeHaskell: Try to be consistent in naming.

8 years agoFormatting fixes.
David Terei [Thu, 30 Jun 2011 00:38:57 +0000 (17:38 -0700)] 
Formatting fixes.

8 years agoSafeHaskell: Improve comments in code.
David Terei [Thu, 30 Jun 2011 00:37:01 +0000 (17:37 -0700)] 
SafeHaskell: Improve comments in code.

8 years agoSafeHaskell: Fix trust check for when safe module imports
David Terei [Thu, 30 Jun 2011 00:33:07 +0000 (17:33 -0700)] 
SafeHaskell: Fix trust check for when safe module imports
trustworthy module in the same package.

8 years agoMerge branch 'master' of http://darcs.haskell.org//ghc
Ross Paterson [Wed, 29 Jun 2011 20:23:58 +0000 (21:23 +0100)] 
Merge branch 'master' of darcs.haskell.org//ghc

8 years agoUse sepArg instead of hasArg for -fplugin* to avoid ambiguity
Max Bolingbroke [Wed, 29 Jun 2011 18:13:35 +0000 (19:13 +0100)] 
Use sepArg instead of hasArg for -fplugin* to avoid ambiguity

8 years agoFix #5045 properly
Ross Paterson [Wed, 29 Jun 2011 17:50:48 +0000 (18:50 +0100)] 
Fix #5045 properly

In arrow commands, the function position in an application (HsApp)
is a command, not an expression.

8 years agoNew functionality required for the supercompiler plugin
Max Bolingbroke [Wed, 29 Jun 2011 16:15:03 +0000 (17:15 +0100)] 
New functionality required for the supercompiler plugin

8 years agoMark mkinstaller executable
Max Bolingbroke [Wed, 29 Jun 2011 14:23:41 +0000 (15:23 +0100)] 
Mark mkinstaller executable

8 years agoUse the x86/Darwin implementation of Adjustors on all x86 platforms,
Simon Marlow [Wed, 29 Jun 2011 10:49:57 +0000 (11:49 +0100)] 
Use the x86/Darwin implementation of Adjustors on all x86 platforms,
as it maintains 16-byte alignment of the stack pointer (see #5250)

8 years agoWarn if LLVM tools aren't installed (#5169)
David Terei [Wed, 29 Jun 2011 07:40:53 +0000 (00:40 -0700)] 
Warn if LLVM tools aren't installed (#5169)

8 years agocomment updates
Simon Marlow [Tue, 28 Jun 2011 19:29:29 +0000 (20:29 +0100)] 
comment updates

8 years agoAdd a builtin rule for seq# when its argument is a manifest
Simon Marlow [Tue, 28 Jun 2011 19:16:16 +0000 (20:16 +0100)] 
Add a builtin rule for seq# when its argument is a manifest
head-normal-form, and similarly for spark#.

8 years agoAdd two new primops:
Simon Marlow [Mon, 27 Jun 2011 15:45:15 +0000 (16:45 +0100)] 
Add two new primops:

  seq#   :: a -> State# s -> (# State# s, a #)
  spark# :: a -> State# s -> (# State# s, a #)

seq# is a version of seq that can be used in a State#-passing
context.  We will use it to implement Control.Exception.evaluate and
thus fix #5129.  Also we have plans to use it to fix #5262.

spark# is to seq# as par is to pseq.  That is, it creates a spark in a
State#-passing context.  We will use spark# and seq# to implement rpar
and rseq respectively in an improved implementation of the Eval monad.

8 years agoFix bug introduced in b2bd63f99d643f6b3eb30bb72bb9ae26d4183252
Simon Marlow [Tue, 28 Jun 2011 10:42:17 +0000 (11:42 +0100)] 
Fix bug introduced in b2bd63f99d643f6b3eb30bb72bb9ae26d4183252
HPC expects the end column of a span to be one less than the
convention used by SrcSpan, and we had lost the "-1", causing various
HPC tests to fail.

8 years agoFix LLVM backend in unregisterised build to use C
David Terei [Tue, 28 Jun 2011 06:57:42 +0000 (23:57 -0700)] 
Fix LLVM backend in unregisterised build to use C
calling convention.

Patch based on one by Karel Gardas.

8 years agoMerge branch 'master' of http://darcs.haskell.org/ghc
Ian Lynagh [Mon, 27 Jun 2011 15:48:34 +0000 (16:48 +0100)] 
Merge branch 'master' of darcs.haskell.org/ghc

8 years agooops, fix the x86 version of the code in here. I validated on the
Simon Marlow [Mon, 27 Jun 2011 14:46:13 +0000 (15:46 +0100)] 
oops, fix the x86 version of the code in here.  I validated on the
wrong platform by mistake.

8 years agoMerge branch 'master' of mac:ghc/git/val32/.
Ian Lynagh [Mon, 27 Jun 2011 12:54:40 +0000 (13:54 +0100)] 
Merge branch 'master' of mac:ghc/git/val32/.

8 years agoKeep the C stack pointer 16-byte aligned on all x86 platforms, not just Mac OS X...
Simon Marlow [Fri, 17 Jun 2011 22:18:04 +0000 (23:18 +0100)] 
Keep the C stack pointer 16-byte aligned on all x86 platforms, not just Mac OS X (#5250).

The OS X ABI requires the C stack pointer to be 16-byte aligned at a
function call.  As far as I know this is not a requirement on other
x86 ABIs, but it seems that gcc is now generating SSE2 code that
assumes stack alignment (-mincoming-stack-boundary defaults to 4), so
we have to respect 16-byte alignment.

8 years agoadd missing cases for ArchARM
Simon Marlow [Mon, 27 Jun 2011 08:54:44 +0000 (09:54 +0100)] 
add missing cases for ArchARM

8 years agoFix build on OS X: Correct silly errors in Trace.h
Ian Lynagh [Mon, 27 Jun 2011 11:21:57 +0000 (12:21 +0100)] 
Fix build on OS X: Correct silly errors in Trace.h

8 years agoFix to use %note instead of @note as an ELF section note on ARM architecture
Karel Gardas [Mon, 13 Jun 2011 10:44:12 +0000 (12:44 +0200)] 
Fix to use %note instead of @note as an ELF section note on ARM architecture

It looks like where x86 assembly is using '@' character,
ARM assembly requires '%' character. This makes a problem in the patch
814edf44433801e37318ce79082ac6991dbc87dd 'Force re-linking if
the options have changed (#4451)' which makes linking assembly
file uncompilable on ARM. This patch fixes this.

8 years agoFix strftime string in fingerprint script
David M Peixotto [Sun, 29 May 2011 18:07:45 +0000 (13:07 -0500)] 
Fix strftime string in fingerprint script

There was an extra % in the strftime string used in the fingerprint
script to name the output files. It worked fine in python 2.6 on mac
os, but was producing bad file names in python 2.7 on linux.

8 years agoAdd case-floating to the float-out pass
Simon Peyton Jones [Mon, 27 Jun 2011 07:54:29 +0000 (08:54 +0100)] 
Add case-floating to the float-out pass

There are two things in this patch. First, a new feature.
Given     (case x of I# y -> ...)
where 'x' is known to be evaluated, the float-out pass
will float the case outwards towards x's binding.  Of
course this doesn't happen if 'x' is evaluated because
of an enclosing case (becuase then the inner case would
be eliminated) but it *does* happen when x is bound by
a constructor with a strict field.  This happens in DPH.
Trac #4081.

The second change is a significant refactoring of the
way the let-floater works.  Now SetLevels makes a decision
about whether the let (or case) will move, and records
that decision in the FloatSpec flag.  This change makes
the whole caboodle much easier to think about.

8 years agoMerge branch 'master' of http://darcs.haskell.org/ghc
Simon Peyton Jones [Mon, 27 Jun 2011 08:15:03 +0000 (09:15 +0100)] 
Merge branch 'master' of darcs.haskell.org/ghc

8 years agoFix Trac #5263: bug in chooseExternalIds
Simon Peyton Jones [Mon, 27 Jun 2011 08:14:45 +0000 (09:14 +0100)] 
Fix Trac #5263: bug in chooseExternalIds

An identifier used in an unfolding wasn't getting marked
as an external Id, which caused subsequent chaos.

In understanding and fixing this I refactored some of
chooseExternalIds.  As a side benefit, the order in which
it enumerates the free variables of the IdInfo is now
deterministic (this was a to-do before).

8 years agoMore tracing in CoreUnfold
Simon Peyton Jones [Mon, 27 Jun 2011 08:10:38 +0000 (09:10 +0100)] 
More tracing in CoreUnfold

8 years agoThe patch fixes recognition of 'softfloat' targets as valid:
Sergei Trofimovich [Sun, 26 Jun 2011 22:10:49 +0000 (23:10 +0100)] 
The patch fixes recognition of 'softfloat' targets as valid:
    ghc $ ./configure --build=armv5tel-softfloat-linux-gnueabi \
                      --host=armv5tel-softfloat-linux-gnueabi \
                      --target=armv5tel-softfloat-linux-gnueabi
    checking for gfind... no
    checking for find... /usr/bin/find
    checking for sort... /usr/bin/sort
    checking for GHC version date... inferred 7.1.20110626
    checking for ghc... /usr/bin/ghc
    checking version of ghc... 7.0.4
    checking build system type... armv5tel-softfloat-linux-gnueabi
    checking host system type... armv5tel-softfloat-linux-gnueabi
    checking target system type... armv5tel-softfloat-linux-gnueabi
    Unknown vendor softfloat

Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
8 years agotrac #5265 (support for additional .ghci files)
Sam Anklesaria [Sun, 19 Jun 2011 22:36:07 +0000 (17:36 -0500)] 
trac #5265 (support for additional .ghci files)

8 years agolndir: Ignore .git directories
Ian Lynagh [Sun, 26 Jun 2011 19:41:41 +0000 (20:41 +0100)] 
lndir: Ignore .git directories

8 years agoCheck mk/validate.mk exists before we try grepping it
Ian Lynagh [Sun, 26 Jun 2011 14:57:47 +0000 (15:57 +0100)] 
Check mk/validate.mk exists before we try grepping it

8 years agoRename STAGE0_PACKAGES to PACKAGES_STAGE0
Ian Lynagh [Sat, 25 Jun 2011 21:15:27 +0000 (22:15 +0100)] 
Rename STAGE0_PACKAGES to PACKAGES_STAGE0

It now matches PACKAGES_STAGE2

8 years agoMerge branch 'master' of http://darcs.haskell.org/ghc
Ian Lynagh [Sat, 25 Jun 2011 18:51:12 +0000 (19:51 +0100)] 
Merge branch 'master' of darcs.haskell.org/ghc

8 years agoFix silly mistake in last commit
David Terei [Sat, 25 Jun 2011 18:38:39 +0000 (11:38 -0700)] 
Fix silly mistake in last commit

8 years agoSpeed improvement to LLVM Mangler for large sections.
David Terei [Sat, 25 Jun 2011 18:33:14 +0000 (11:33 -0700)] 
Speed improvement to LLVM Mangler for large sections.

Patch by Peter Wortmann!