ghc.git
7 years agoSmall optimisation: always sink/inline reg1 = reg2 assignments
Simon Marlow [Tue, 23 Oct 2012 12:06:17 +0000 (13:06 +0100)] 
Small optimisation: always sink/inline reg1 = reg2 assignments

7 years agoa small -fPIC optimisation
Simon Marlow [Tue, 23 Oct 2012 12:05:28 +0000 (13:05 +0100)] 
a small -fPIC optimisation

(PicBaseReg + lit) + N  ==>  PicBaseReg + (lit+N)

7 years agoremoveWay should also unset the wayGeneralFlags
Simon Marlow [Tue, 23 Oct 2012 11:22:59 +0000 (12:22 +0100)] 
removeWay should also unset the wayGeneralFlags

This means that -static now disables the -fPIC that we're currently
getting by default.

7 years agoAvoid calling toInfoLbl on the entry label (#7313)
Simon Marlow [Tue, 23 Oct 2012 08:50:33 +0000 (09:50 +0100)] 
Avoid calling toInfoLbl on the entry label (#7313)

7 years agoUse canned heap checks to save a few bytes of code
Simon Marlow [Tue, 23 Oct 2012 08:45:05 +0000 (09:45 +0100)] 
Use canned heap checks to save a few bytes of code

7 years agofix a warning
Simon Marlow [Mon, 22 Oct 2012 14:59:06 +0000 (15:59 +0100)] 
fix a warning

7 years agoFix a silly bug that would cause -xc to print less than useful information
Simon Marlow [Mon, 22 Oct 2012 14:44:58 +0000 (15:44 +0100)] 
Fix a silly bug that would cause -xc to print less than useful information

7 years agocomments only
Gabor Greif [Tue, 23 Oct 2012 07:52:30 +0000 (09:52 +0200)] 
comments only

7 years agoOctober 2012 stats
Gabor Greif [Tue, 23 Oct 2012 07:50:31 +0000 (09:50 +0200)] 
October 2012 stats

7 years agoMerge branch 'master' of darcs.haskell.org:/srv/darcs//ghc
Ian Lynagh [Mon, 22 Oct 2012 17:24:03 +0000 (18:24 +0100)] 
Merge branch 'master' of darcs.haskell.org:/srv/darcs//ghc

7 years agoWhen DYNAMIC_BY_DEFAULT, make inplace wrappers for everything
Ian Lynagh [Mon, 22 Oct 2012 17:22:42 +0000 (18:22 +0100)] 
When DYNAMIC_BY_DEFAULT, make inplace wrappers for everything

Even though e.g. inplace/bin/hpc doesn't normally need a shell wrapper,
it does when we are using dynlibs, as we need to set the
LD_LIBRARY_PATH so that it can find its libraries.

7 years agoForeign calls can clobber heap & stack memory too
Simon Marlow [Mon, 22 Oct 2012 10:43:18 +0000 (11:43 +0100)] 
Foreign calls can clobber heap & stack memory too

We were making an aggressive assumption that foreign calls cannot
clobber heap or stack memory, which for the majority of foreign calls
is true, but we violate the assumption in the implementation of
primops in the RTS.  This was causing crashes in some STM tests.

7 years agotypo
Simon Marlow [Mon, 22 Oct 2012 10:42:03 +0000 (11:42 +0100)] 
typo

7 years agoUse fromRational when pre-computing fromRational literals
Ian Lynagh [Sun, 21 Oct 2012 17:03:17 +0000 (18:03 +0100)] 
Use fromRational when pre-computing fromRational literals

This makes it easier to be confident that the optimisation gives the
right answer.

7 years agoadd GHC.Float.rationalToFloat, rationalToDouble (fixes #7295)
John Lato [Mon, 8 Oct 2012 04:54:55 +0000 (12:54 +0800)] 
add GHC.Float.rationalToFloat, rationalToDouble (fixes #7295)

Adds better support for constant folding of Float/Double literals.
  - add rationalToFloat, rationalToDouble with associated Name/Id's in PrelNames.
  - add a matching rule in PrelRules for rationalTo* functions.

7 years agoSet V = 1 by default, and add info about turning it off to build.mk.sample
Ian Lynagh [Sun, 21 Oct 2012 16:15:37 +0000 (17:15 +0100)] 
Set V = 1 by default, and add info about turning it off to build.mk.sample

This will hopefully make it less likely that we will get bug reports
with the pretty output, such as in trac ticket 7225.

7 years agoAdd the p_dyn and thr_p_dyn ways
Ian Lynagh [Sun, 21 Oct 2012 16:11:35 +0000 (17:11 +0100)] 
Add the p_dyn and thr_p_dyn ways

7 years agoAdd a rule for (plusAddr# x 0) == x; fixes #7284
Ian Lynagh [Sun, 21 Oct 2012 13:48:29 +0000 (14:48 +0100)] 
Add a rule for (plusAddr# x 0) == x; fixes #7284

7 years agoAdd some more PrimOp rules
Ian Lynagh [Sun, 21 Oct 2012 13:20:17 +0000 (14:20 +0100)] 
Add some more PrimOp rules

7 years agoWhitespace only in hsSyn/HsExpr.lhs
Ian Lynagh [Sun, 21 Oct 2012 12:55:54 +0000 (13:55 +0100)] 
Whitespace only in hsSyn/HsExpr.lhs

7 years agoAdd some more primop rules; fixes #7286
Ian Lynagh [Sun, 21 Oct 2012 12:48:09 +0000 (13:48 +0100)] 
Add some more primop rules; fixes #7286

As well as the rules mentioned in the ticket, I've also gone through
and added some more rules that might be useful in other cases.

7 years agoFix typo
Ian Lynagh [Fri, 19 Oct 2012 23:12:21 +0000 (00:12 +0100)] 
Fix typo

7 years agoWhitespace only in simplCore/OccurAnal.lhs
Ian Lynagh [Fri, 19 Oct 2012 19:56:30 +0000 (20:56 +0100)] 
Whitespace only in simplCore/OccurAnal.lhs

7 years agoSet the way when loading dynamic objects for GHCi
Ian Lynagh [Fri, 19 Oct 2012 17:03:37 +0000 (18:03 +0100)] 
Set the way when loading dynamic objects for GHCi

This fixes using TH when building profiled libraries when
dynamic-by-default is enabled.

7 years agoMerge branch 'master' of darcs.haskell.org:/srv/darcs//ghc
Ian Lynagh [Fri, 19 Oct 2012 12:18:46 +0000 (13:18 +0100)] 
Merge branch 'master' of darcs.haskell.org:/srv/darcs//ghc

7 years agoRemove the old codegen
Simon Marlow [Sun, 14 Oct 2012 12:03:32 +0000 (13:03 +0100)] 
Remove the old codegen

Except for CgUtils.fixStgRegisters that is used in the NCG and LLVM
backends, and should probably be moved somewhere else.

7 years agoprofiling fixes
Simon Marlow [Fri, 19 Oct 2012 10:27:53 +0000 (11:27 +0100)] 
profiling fixes

7 years agoWhitespace only in nativeGen/PIC.hs
Ian Lynagh [Fri, 19 Oct 2012 00:15:57 +0000 (01:15 +0100)] 
Whitespace only in nativeGen/PIC.hs

7 years agoFollow 'flags' -> 'generalFlags' rename
Ian Lynagh [Thu, 18 Oct 2012 15:40:45 +0000 (16:40 +0100)] 
Follow 'flags' -> 'generalFlags' rename

7 years agoTurn DYNAMIC_BY_DEFAULT off in mk/build.mk.sample
Ian Lynagh [Thu, 18 Oct 2012 15:03:44 +0000 (16:03 +0100)] 
Turn DYNAMIC_BY_DEFAULT off in mk/build.mk.sample

It sets GhcLibWays=v, which doesn't work with DYNAMIC_BY_DEFAULT on
as the dynamic libs aren't built.

7 years agoRefactor the way dump flags are handled
Ian Lynagh [Thu, 18 Oct 2012 13:59:12 +0000 (14:59 +0100)] 
Refactor the way dump flags are handled

We were being inconsistent about how we tested whether dump flags
were enabled; in particular, sometimes we also checked the verbosity,
and sometimes we didn't.

This lead to oddities such as "ghc -v4" printing an "Asm code" section
which didn't contain any code, and "-v4" enabled some parts of
"-ddump-deriv" but not others.

Now all the tests use dopt, which also takes the verbosity into account
as appropriate.

7 years agoPut header and timestamp in dump files
Ian Lynagh [Wed, 17 Oct 2012 00:10:49 +0000 (01:10 +0100)] 
Put header and timestamp in dump files

7 years agoRemove unused -ddump flags
Ian Lynagh [Tue, 16 Oct 2012 23:30:27 +0000 (00:30 +0100)] 
Remove unused -ddump flags

7 years agoFix build on OS X (fix from Duncan Coutts)
Ian Lynagh [Tue, 16 Oct 2012 17:15:46 +0000 (18:15 +0100)] 
Fix build on OS X (fix from Duncan Coutts)

7 years agoSome alpha renaming
Ian Lynagh [Tue, 16 Oct 2012 14:28:26 +0000 (15:28 +0100)] 
Some alpha renaming

Mostly d -> g (matching DynFlag -> GeneralFlag).
Also renamed if* to when*, matching the Haskell if/when names

7 years agoRemove a copy of foldM, and use the standard function instead
Ian Lynagh [Tue, 16 Oct 2012 12:27:17 +0000 (13:27 +0100)] 
Remove a copy of foldM, and use the standard function instead

7 years agoWhitespace only in simplStg/SimplStg.lhs
Ian Lynagh [Tue, 16 Oct 2012 12:23:12 +0000 (13:23 +0100)] 
Whitespace only in simplStg/SimplStg.lhs

7 years agoRename setDynFlag, unSetDynFlag following the DynFlag->GeneralFlag rename
Ian Lynagh [Tue, 16 Oct 2012 12:21:14 +0000 (13:21 +0100)] 
Rename setDynFlag, unSetDynFlag following the DynFlag->GeneralFlag rename

7 years agoRename DynFlag to GeneralFlag
Ian Lynagh [Tue, 16 Oct 2012 12:08:15 +0000 (13:08 +0100)] 
Rename DynFlag to GeneralFlag

This avoids confusion due to [DynFlag] and DynFlags being completely
different types.

7 years agoBuild system fix for building a profiling GHC
Ian Lynagh [Tue, 16 Oct 2012 00:25:45 +0000 (01:25 +0100)] 
Build system fix for building a profiling GHC

7 years agoRemove unused dumpIfSet_dyn_or
Ian Lynagh [Mon, 15 Oct 2012 22:40:50 +0000 (23:40 +0100)] 
Remove unused dumpIfSet_dyn_or

7 years agoMerge branch 'master' of darcs.haskell.org:/srv/darcs//ghc
Ian Lynagh [Mon, 15 Oct 2012 20:52:41 +0000 (21:52 +0100)] 
Merge branch 'master' of darcs.haskell.org:/srv/darcs//ghc

7 years agoMake -ddump-cmmz-cfg turn on the right flag
Ian Lynagh [Mon, 15 Oct 2012 20:29:34 +0000 (21:29 +0100)] 
Make -ddump-cmmz-cfg turn on the right flag

It was turning on Opt_D_dump_cmmz_cbe rather than Opt_D_dump_cmmz_cfg

7 years agoUse -O0 -g C flags when compiling a debug way
Ian Lynagh [Mon, 15 Oct 2012 17:51:07 +0000 (18:51 +0100)] 
Use -O0 -g C flags when compiling a debug way

7 years agoAdd a new traceMarker# primop for use in profiling output
Duncan Coutts [Sun, 14 Oct 2012 23:52:32 +0000 (00:52 +0100)] 
Add a new traceMarker# primop for use in profiling output

In time-based profiling visualisations (e.g. heap profiles and ThreadScope)
it would be useful to be able to mark particular points in the execution and
have those points in time marked in the visualisation.

The traceMarker# primop currently emits an event into the eventlog. In
principle it could be extended to do something in the heap profiling too.

7 years agoMerge branch 'master' of http://darcs.haskell.org/ghc
Ian Lynagh [Sun, 14 Oct 2012 16:19:15 +0000 (17:19 +0100)] 
Merge branch 'master' of darcs.haskell.org/ghc

7 years agoDefault to dynamic-by-default on OSX/64
Ian Lynagh [Sun, 14 Oct 2012 16:16:33 +0000 (17:16 +0100)] 
Default to dynamic-by-default on OSX/64

7 years agoFix some dependencies
Ian Lynagh [Sun, 14 Oct 2012 16:15:48 +0000 (17:15 +0100)] 
Fix some dependencies

7 years agoFix copy/paste-o
Ian Lynagh [Sun, 14 Oct 2012 15:12:51 +0000 (16:12 +0100)] 
Fix copy/paste-o

7 years agoUse Cabal to build ghctags
Ian Lynagh [Sun, 14 Oct 2012 14:54:57 +0000 (15:54 +0100)] 
Use Cabal to build ghctags

7 years agoUse Cabal to build hpc-bin
Ian Lynagh [Sun, 14 Oct 2012 14:54:45 +0000 (15:54 +0100)] 
Use Cabal to build hpc-bin

7 years agoGet dynamic-by-default mostly working on OS X
Ian Lynagh [Sun, 14 Oct 2012 12:36:08 +0000 (13:36 +0100)] 
Get dynamic-by-default mostly working on OS X

7 years agoDouble a couple of $s for consistency
Ian Lynagh [Sun, 14 Oct 2012 00:40:04 +0000 (01:40 +0100)] 
Double a couple of $s for consistency

7 years agoDon't set dynlib install names when building
Ian Lynagh [Sun, 14 Oct 2012 00:35:54 +0000 (01:35 +0100)] 
Don't set dynlib install names when building

When building things to run in the build tree, we want the install name
to be the location in the build tree.

Bindists may be installed somewhere other than the configured install
location, so we weren't even necessarily setting it to the right value.

7 years agoMove the RPATH computation into the build rules
Ian Lynagh [Sun, 14 Oct 2012 00:31:20 +0000 (01:31 +0100)] 
Move the RPATH computation into the build rules

It doesn't really belong in package-data.mk

7 years agoAdd TRANSITIVE_DEPS variables to package-data.mk files
Ian Lynagh [Sun, 14 Oct 2012 00:21:37 +0000 (01:21 +0100)] 
Add TRANSITIVE_DEPS variables to package-data.mk files

7 years agoFix installing when dynlibs-by-default
Ian Lynagh [Sun, 14 Oct 2012 00:08:35 +0000 (01:08 +0100)] 
Fix installing when dynlibs-by-default

7 years agorts: Ignore signal before deleting timer. Fixes #7303.
Erik de Castro Lopo [Sat, 6 Oct 2012 07:23:01 +0000 (17:23 +1000)] 
rts: Ignore signal before deleting timer. Fixes #7303.

Was getting an ocassional hang or segfault when building GHC in a
Qemu user space emulation of ARM. Turned out that the ITIMER_SIGNAL
was being delivered *after* the call to timer_delete(). Setting the
signal to SIG_IGN before deleting the timer solves the problem.

7 years agoFix test for GHCi lib building
Ian Lynagh [Sat, 13 Oct 2012 15:52:48 +0000 (16:52 +0100)] 
Fix test for GHCi lib building

7 years agoKeep the list of DLLs that we dlopen
Ian Lynagh [Sat, 13 Oct 2012 15:18:41 +0000 (16:18 +0100)] 
Keep the list of DLLs that we dlopen

Unfortunately, dlsym finds the first symbol loaded, while when we reload
a compiled module in GHCi it's the last symbol that we want. Therefore
we remember the list of loaded DLLs ourselves and go through them in
order.

7 years agoFix typo
Ian Lynagh [Sat, 13 Oct 2012 15:02:48 +0000 (16:02 +0100)] 
Fix typo

7 years agoMerge branch 'master' of darcs.haskell.org:/srv/darcs//ghc
Ian Lynagh [Sat, 13 Oct 2012 13:45:12 +0000 (14:45 +0100)] 
Merge branch 'master' of darcs.haskell.org:/srv/darcs//ghc

7 years agoWhen dynamic-by-default, don't use the GHCi linker
Ian Lynagh [Sat, 13 Oct 2012 13:42:52 +0000 (14:42 +0100)] 
When dynamic-by-default, don't use the GHCi linker

We instead link objects into a temporary DLL and dlopen that

7 years agoAdd a type signature needed when using GADTs
Simon Peyton Jones [Fri, 12 Oct 2012 17:08:23 +0000 (18:08 +0100)] 
Add a type signature needed when using GADTs

7 years agoDon't build the HS*.o files when DYNAMIC_BY_DEFAULT
Ian Lynagh [Fri, 12 Oct 2012 15:30:52 +0000 (16:30 +0100)] 
Don't build the HS*.o files when DYNAMIC_BY_DEFAULT

We don't use them (we use the .so/.dll instead), so no point generating
them.

7 years agoMerge branch 'master' of darcs.haskell.org:/home/darcs/ghc
Simon Peyton Jones [Fri, 12 Oct 2012 12:59:19 +0000 (13:59 +0100)] 
Merge branch 'master' of darcs.haskell.org:/home/darcs/ghc

7 years agofix obvious typos
Gabor Greif [Fri, 12 Oct 2012 07:40:09 +0000 (09:40 +0200)] 
fix obvious typos

these can go into the release 7.6.2 too, I guess

7 years agoFix error in tidying the type variables of a TyCon when building an interface file
Simon Peyton Jones [Fri, 12 Oct 2012 07:17:00 +0000 (08:17 +0100)] 
Fix error in tidying the type variables of a TyCon when building an interface file

7 years agoBe lazier when typechecking data type contexts (Trac #7321)
Simon Peyton Jones [Fri, 12 Oct 2012 07:15:44 +0000 (08:15 +0100)] 
Be lazier when typechecking data type contexts (Trac #7321)

We should be lazy when type-checking the equality-contraint
part of a data constructor's type, to make the knot-tying
work out right.  The fact that it's always worked before
is a fluke: no one else wrote a GADT whose type index mentions
itself
  data T a wher
    MkT :: T (T Int)

7 years agoEnsure we produce a FunTy for functions (Trac #7312)
Simon Peyton Jones [Wed, 10 Oct 2012 18:10:18 +0000 (19:10 +0100)] 
Ensure we produce a FunTy for functions (Trac #7312)

The issue here was with a function type written prefix
  (->) a b
where we were not generating a FunTy, which blew the
invariant that function types are always FunTys.  We
can't look at the TyCon directly because it may be
knot-tied, so we look at the name instead.

7 years agoghc-pkg: Print something when no packages are found; fixes #6119
Ian Lynagh [Thu, 11 Oct 2012 20:31:00 +0000 (21:31 +0100)] 
ghc-pkg: Print something when no packages are found; fixes #6119

We used to say

    $ ghc-pkg list blargle
    /usr/local/lib/ghc-7.4.1/package.conf.d

which may imply that blargle was found in
/usr/local/lib/ghc-7.4.1/package.conf.d

7 years agoWhitespace only in types/FamInstEnv.lhs
Ian Lynagh [Thu, 11 Oct 2012 17:23:53 +0000 (18:23 +0100)] 
Whitespace only in types/FamInstEnv.lhs

7 years agoAdd an "Outputable (InstInfo a)" instance
Ian Lynagh [Thu, 11 Oct 2012 17:06:50 +0000 (18:06 +0100)] 
Add an "Outputable (InstInfo a)" instance

7 years agoWhitespace only in typecheck/TcDeriv.lhs
Ian Lynagh [Thu, 11 Oct 2012 15:37:31 +0000 (16:37 +0100)] 
Whitespace only in typecheck/TcDeriv.lhs

7 years agoWhitespace only in typecheck/TcGenDeriv.lhs
Ian Lynagh [Thu, 11 Oct 2012 15:30:13 +0000 (16:30 +0100)] 
Whitespace only in typecheck/TcGenDeriv.lhs

7 years agoFix build on Windows
Ian Lynagh [Thu, 11 Oct 2012 15:25:23 +0000 (16:25 +0100)] 
Fix build on Windows

gcc couldn't find ghc_boot_platform.h. I'm not sure why it worked on
Linux.

7 years agoRemove fake-happy; it's no longer useful
Ian Lynagh [Thu, 11 Oct 2012 14:34:46 +0000 (15:34 +0100)] 
Remove fake-happy; it's no longer useful

7 years agoRemove cvs-build; it's no longer used
Ian Lynagh [Thu, 11 Oct 2012 14:34:07 +0000 (15:34 +0100)] 
Remove cvs-build; it's no longer used

7 years agoRemove the distrib/prep-bin-* scripts
Ian Lynagh [Thu, 11 Oct 2012 14:33:28 +0000 (15:33 +0100)] 
Remove the distrib/prep-bin-* scripts

They are no longer used

7 years agoRemove distrib/Mac*; fixes #7136
Ian Lynagh [Thu, 11 Oct 2012 14:31:57 +0000 (15:31 +0100)] 
Remove distrib/Mac*; fixes #7136

We no longer produce installers fo OS X; we leave that to the Haskell
Platform team.

7 years agoMove the primop bits into the compiler/stage<n>/build directories
Ian Lynagh [Wed, 10 Oct 2012 14:54:08 +0000 (15:54 +0100)] 
Move the primop bits into the compiler/stage<n>/build directories

We shouldn't be generating files in the source directories

7 years agoPut the generated Parser.y under compiler/stage<n>/build; fixes #7195
Ian Lynagh [Wed, 10 Oct 2012 01:12:56 +0000 (02:12 +0100)] 
Put the generated Parser.y under compiler/stage<n>/build; fixes #7195

7 years agoMake -fexcess-precision a fully-dynamic flag
Ian Lynagh [Tue, 9 Oct 2012 22:41:44 +0000 (23:41 +0100)] 
Make -fexcess-precision a fully-dynamic flag

It used to be part-dynamic, part-static.

7 years agoMake -f(no-)pre-inlining a dynamic flag
Ian Lynagh [Tue, 9 Oct 2012 22:28:13 +0000 (23:28 +0100)] 
Make -f(no-)pre-inlining a dynamic flag

7 years agoWhitespace only in simplCore/SimplMonad.lhs
Ian Lynagh [Tue, 9 Oct 2012 21:27:26 +0000 (22:27 +0100)] 
Whitespace only in simplCore/SimplMonad.lhs

7 years agoWhitespace only in simplCore/SimplUtils.lhs
Ian Lynagh [Tue, 9 Oct 2012 21:24:49 +0000 (22:24 +0100)] 
Whitespace only in simplCore/SimplUtils.lhs

7 years agoWhitespace only in simplCore/SimplEnv.lhs
Ian Lynagh [Tue, 9 Oct 2012 21:15:54 +0000 (22:15 +0100)] 
Whitespace only in simplCore/SimplEnv.lhs

7 years agoMake -fsimple-list-literals a dynamic flag
Ian Lynagh [Tue, 9 Oct 2012 17:22:57 +0000 (18:22 +0100)] 
Make -fsimple-list-literals a dynamic flag

7 years agoMake -fmax-worker-args a dynamic flag
Ian Lynagh [Tue, 9 Oct 2012 16:31:51 +0000 (17:31 +0100)] 
Make -fmax-worker-args a dynamic flag

7 years agoMake the -dsuppress-* flags dynamic
Ian Lynagh [Tue, 9 Oct 2012 14:59:15 +0000 (15:59 +0100)] 
Make the -dsuppress-* flags dynamic

7 years agoMerge branch 'master' of darcs.haskell.org:/srv/darcs//ghc
Ian Lynagh [Tue, 9 Oct 2012 11:33:00 +0000 (12:33 +0100)] 
Merge branch 'master' of darcs.haskell.org:/srv/darcs//ghc

7 years ago-fliberate-case-threshold is already a dynamic flag
Ian Lynagh [Tue, 9 Oct 2012 11:32:26 +0000 (12:32 +0100)] 
-fliberate-case-threshold is already a dynamic flag

7 years agoMake the opt_UF_* static flags dynamic
Ian Lynagh [Mon, 8 Oct 2012 23:27:28 +0000 (00:27 +0100)] 
Make the opt_UF_* static flags dynamic

I also removed the default values from the "Discounts and thresholds"
note: most of them were no longer up-to-date.

Along the way I added FloatSuffix to the argument parser, analogous to
IntSuffix.

7 years agoprofiling fixes
Simon Marlow [Tue, 9 Oct 2012 08:23:50 +0000 (09:23 +0100)] 
profiling fixes

7 years agoFix comment
Simon Marlow [Mon, 8 Oct 2012 09:58:25 +0000 (10:58 +0100)] 
Fix comment

patch submitted by marcotmarcot@gmail.com

7 years agoRemove unnecessary warning suppression
Ian Lynagh [Mon, 8 Oct 2012 23:09:33 +0000 (00:09 +0100)] 
Remove unnecessary warning suppression

7 years agoMake the -ferror-spans flag dynamic
Ian Lynagh [Mon, 8 Oct 2012 23:07:15 +0000 (00:07 +0100)] 
Make the -ferror-spans flag dynamic

7 years agoMerge ../ghc
Roman Leshchinskiy [Mon, 8 Oct 2012 22:37:14 +0000 (23:37 +0100)] 
Merge ../ghc

7 years agoFix copyArray# bug in new code generator
Roman Leshchinskiy [Mon, 8 Oct 2012 22:36:18 +0000 (23:36 +0100)] 
Fix copyArray# bug in new code generator

7 years agoFix copyArray# bug in old code generator
Roman Leshchinskiy [Mon, 8 Oct 2012 22:35:30 +0000 (23:35 +0100)] 
Fix copyArray# bug in old code generator