Fix #7661 regression.

Patch from singpolyma.
Support QNXNTO for arm under LLVM

Signed-off-by: Austin Seipp <aseipp@pobox.com>
Fix rts/package.conf.in ld-options for Clang.

Now with less Mac-breakage.

With this change, I can get a working stage1/stage2 compiler using
Clang 3.4svn, which can be used to link working executables!

Signed-off-by: Austin Seipp <aseipp@pobox.com>
Document -fwarn-dodgy-imports changes in release notes. Trac #7167.

Signed-off-by: Austin Seipp <aseipp@pobox.com>
Add release note blurb for Clang support.

Signed-off-by: Austin Seipp <aseipp@pobox.com>
Initialize ptr to NULL to silence Clang warning.

Signed-off-by: Austin Seipp <aseipp@pobox.com>
Don't use -finline-limit with Clang.

It's unsupported.

Signed-off-by: Austin Seipp <aseipp@pobox.com>
Ensure gc_thread->wakeup is of type StgWord8.

rtsBool is defined to only have two inhabitants, which are true (1) and
false (0)

But the wakeup flag is set to 4 possible values, outside the range of
rtsBool. This leads Clang to warn about tautological comparisons.

Signed-off-by: Austin Seipp <aseipp@pobox.com>
Ensure gc_type is StgWord8.

Again, the range of gc_type is actually 1-3, which is technically
outside the range of rtsBool.

Signed-off-by: Austin Seipp <aseipp@pobox.com>
Typo in note
Revise implementation of overlapping type family instances.

This commit changes the syntax and story around overlapping type
family instances. Before, we had "unbranched" instances and
"branched" instances. Now, we have closed type families and
open ones.

The behavior of open families is completely unchanged. In particular,
coincident overlap of open type family instances still works, despite
emails to the contrary.

A closed type family is declared like this:
> type family F a where
>   F Int = Bool
>   F a   = Char
The equations are tried in order, from top to bottom, subject to
certain constraints, as described in the user manual. It is not
allowed to declare an instance of a closed family.
Whitespace only in HeaderInfo
Fix #8009 : Failure to compile on powerpc64-linux.

Add definitions for stg_C_FINALIZER_LIST and n_capabilities.
Remove extra dashes in a flag name in the user guide
Use consistent dashes in the user guide

We were using a mixture of "&ndash;&ndash;" and "--". We now
consistently use "--", which has the advantage that copy/pasting
flags will work.
The help flag is --help, not -help; fixes #8005
Fix syntax in some code in the user guide; fixes #8007
Merge branch 'master' of http://darcs.haskell.org/ghc
Fix build on OS X
On OS X, fix the path to the libffi dynlib; fixes #7833