Spelling in comment
Better pretty-printing of types and coercions
Merge branch 'master' of darcs.haskell.org:/home/darcs/ghc
Merge branch 'master' of darcs.haskell.org:/home/darcs/ghc
Fix an old and egregious specialisation bug (Trac #5113)

The specialiser needs to know if a dictionay has some structure,
so that it can decide whether to specialise a function. Eg
 (A)    let d = $dfblah d1
        in ....(f d)....

 (B)    \d. ....(f d)....

In (A) it's probably worth specialising f; in (B) it isn't.
Previously we were relying on d's unfolding, but the specialiser
does cloning as it goes, which discards the unfolding. So we
were simply discarding all specialisations for functions with
local dictionary bindings!  This bug seems to have been there
for a long time.

This is what originally caused Trac #5113.  Then we went through a phase
where local bindings were not generalised, and that meant there was
no locally overloaded f to specialise; so the performance problem appeared
to be fixed.  But now we are generalising local bindings again, so it
re-appeared.

This patch fixes the original problem.
Merge branch 'master' of http://darcs.haskell.org/ghc
Don't import TypeRep
Yet more refactoring in overlapping type-family instances

This patch mainly introduces TcValidity.checkConsistendFamInst,
and uses it when typechecking type-family instances, *including*
default instances.

I find I can't remember why I began this particular saga, but
it's a modest improvement I think.
Merge branch 'master' of http://darcs.haskell.org/ghc

Conflicts:
	compiler/typecheck/TcInstDcls.lhs
A bit more tidying up

This is really just a completion of bcbfdd03.
Distinguish between llvm-gcc/gcc in compiler name detection.

It uglifies the code a tiny bit but it's nice to know exactly what
you're using.

Signed-off-by: Austin Seipp <aseipp@pobox.com>
Fix bugs in PPC.Instr.allocMoreStack (#7498)

This patch is ported from #7510, which fixes the same bug in the x86 nativeGen.
Extra comment about the fix to Trac #5113
Merge branch 'master' of http://darcs.haskell.org/ghc
Merge remote-tracking branch 'phonohawk/ticket-7498'

* phonohawk/ticket-7498:
  Fix bugs in PPC.Instr.allocMoreStack (#7498)
allocMoreStack: we should be retargetting table jumps too.

Thanks to @PHO on #7498 for pointing this out.
Update random submodule
Merge branch 'master' of darcs.haskell.org:/srv/darcs//ghc
Fix Trac #7681.

Removed checks for empty lists for case expressions and lambda-case.
If -XEmptyCase is not enabled, compilation still fails (appropriately)
in the renamer.

Had to remove dead code from TrieMap to pass the validator.
Added RTS hooks for the timer manager.