More accurate cost attribution for stacks.  Fixes #7818.

Previously, stacks were always attributed to CCCS_SYSTEM.  Now, we
attribute them to the CCS when the stack was allocated.  If a stack
grows, new stack chunks inherit the CCS of the old stack.

Signed-off-by: Edward Z. Yang <ezyang@mit.edu>
Typos in comments
Typo in debug print message
Comment typo
Comments and debug messages only
Make CmmParse abstract
Don't duplicate decls unnecessarily in the environment

In loopDecls, as far as I can see the globalDecls will always
already be in the environment, so don't add them again.
Small refactoring in StgCmmExtCode
In CMM, only allow foreign calls to labels, not arbitrary expressions

I'm not sure if we want to make this change permanently, but for now it
fixes the unreg build.

I've also removed some redundant special-case code that generated
prototypes for foreign functions. The standard pprTempAndExternDecls
now generates them.
Allow deriving Generic for polykinded phantom types
Update Makefile in docs/core-spec not to use latexmk
Updated documentation; changed "group" to "branched" in type families
Fixed moer tyops
Fix the inplace name of ghc-cabal

We had inplace/bin/ghc-cabalghc-cabal
Add a "Support dynamic-too" field to the --info output

This is always "YES".
Whitespace only in StaticFlags
Update Cabal
Remove some old commented-out code in StaticFlags
Update the isStaticFlag predicate

-fspec-inline-join-points was removed in Jan 2010:
99f41975ae61fc919638aa389199b32742332eff

-fno-hi-version-check was removed in Nov 2003:
98744cef7b82e7eefbb1c6f1d8b9e28c415939c4

-dno-black-holing was removed in Aug 2011:
1c2f89535394958f75cfb15c8c5e0433a20953ed

-fruntime-types was removed in Apr 2008:
8d6bc9bf51829ea04da5f599b84114ef220f0a19

-fhardwire-lib-paths was removed in Jan 2008:
1b98179e0faf8c1ddf79c12827b24d4b7979b83e
Mark -dynamic-too as unsupported for now

It doesn't work with --make yet. Trac #7864 filed.