Updated testsuite/.gitignore to cover artifacts on Windows.

Test Plan: git status after a test run

Reviewers: austin

Reviewed By: austin

Subscribers: thomie, carter, ezyang, simonmar

Differential Revision: https://phabricator.haskell.org/D333

GHC Trac Issues: #9679
Use objdump instead of nm to derive constants on OpenBSD

Summary: OpenBSD's nm doesn't support the -P option and there appears to be no other way to get the desired information from it.

Reviewers: kgardas, #ghc, austin

Reviewed By: kgardas, #ghc, austin

Subscribers: austin, ggreif

Projects: #ghc

Differential Revision: https://phabricator.haskell.org/D332

GHC Trac Issues: #9549
ghc-prim: Use population count appropriate for platform

Summary:
This #ifdef was previously x86-centric and consequently the 64-bit
implementation was chosen for ARM.

Reviewers: rwbarton, hvr, austin, tibbe

Reviewed By: hvr, austin, tibbe

Subscribers: hvr, thomie, carter, ezyang, simonmar

Differential Revision: https://phabricator.haskell.org/D312
Update to Unicode version 7.0

Summary: Update Unicode data to version 7.0

Reviewers: rwbarton, austin

Reviewed By: austin

Subscribers: thomie, carter, ezyang, simonmar

Differential Revision: https://phabricator.haskell.org/D316
Remove extra period

Summary:
The documentation has an extra period, which is rendered as

> However, GHCi also has support for interactively loading compiled
> code, as well as supporting all[2] the language extensions that GHC
> provides. .

Removing the extra period should fix this problem.

Reviewers: austin

Reviewed By: austin

Subscribers: thomie, carter, ezyang, simonmar

Differential Revision: https://phabricator.haskell.org/D326
Improve isDigit, isSpace, etc.

Summary:
Make things less branchy; use unsigned comparisons for range checking.
Eliminate non-spaces more quickly in common cases in isSpace.

Reviewers: ekmett, carter, austin

Reviewed By: austin

Subscribers: thomie, carter, ezyang, simonmar

Differential Revision: https://phabricator.haskell.org/D340

GHC Trac Issues: #1473
Make findIndices fuse

Summary:
Steal the findIndices implementation from Data.Sequence, that can
participate in fold/build fusion

Reviewers: nomeata, austin

Reviewed By: nomeata, austin

Subscribers: thomie, carter, ezyang, simonmar

Differential Revision: https://phabricator.haskell.org/D345
Make Data.List.concatMap fuse better

Summary:
Fix #9537 precisely as Joachim Breitner proposed in
http://www.haskell.org/pipermail/haskell-cafe/2011-December/097228.html

Reviewers: austin, nomeata

Reviewed By: austin, nomeata

Subscribers: thomie, carter, ezyang, simonmar

Differential Revision: https://phabricator.haskell.org/D348

GHC Trac Issues: #9537
Add doctest examples for Data.Functor.

Summary:
Add doctest examples for the three standalone functions defined in
Data.Functor:

  * Data.Functor.$>
  * Data.Functor.<$>
  * Data.Functor.void

This is part of a larger plan to add examples for the functions in
base, and to eventually enable automatic testing of them.

Reviewers: austin, hvr, ekmett

Reviewed By: austin

Subscribers: hvr, ekmett, thomie, carter, ezyang, simonmar

Differential Revision: https://phabricator.haskell.org/D352
Fix typo in -XConstraintKinds docs

Summary:
Fix a minor typo that seems to have existed for a long time.

Signed-off-by: Ricky Elrod <ricky@elrod.me>

Test Plan: My eyes.

Reviewers: austin, #ghc

Reviewed By: austin, #ghc

Subscribers: thomie, carter, ezyang, simonmar

Differential Revision: https://phabricator.haskell.org/D356
Add doctest examples for Data.Bool.

Summary:
Add examples for `Data.Bool`, and rework the existing documentation of
the `bool` function slightly: the `a`,`b` in its explanation were changed
to `x`,`y` to avoid ambiguity with the type variable 'a'.

The examples have been tested, and two trailing spaces were removed.

Reviewers: austin

Reviewed By: austin

Subscribers: thomie, carter, ezyang, simonmar

Differential Revision: https://phabricator.haskell.org/D360
Add release note about Unicode 7.0

Signed-off-by: Austin Seipp <austin@well-typed.com>
Fixes the ARM build

Summary:
CodeGen.Platform.hs was changed with the following diff:

   -#endif
    globalRegMaybe _                        = Nothing
   +#elif MACHREGS_NO_REGS
   +globalRegMaybe _ = Nothing
   +#else
   +globalRegMaybe = panic "globalRegMaybe not defined for this platform"
   +#endif

which causes globalRegMaybe ot panic for arch ARM.

This patch ensures globalRegMaybe is not called on ARM.

Signed-off-by: Moritz Angermann <moritz@lichtzwerge.de>

Test Plan: Building arm cross-compiler (e.g. --target=arm-apple-darwin10)

Reviewers: hvr, ezyang, simonmar, rwbarton, austin

Reviewed By: austin

Subscribers: dterei, bgamari, simonmar, ezyang, carter

Differential Revision: https://phabricator.haskell.org/D208

GHC Trac Issues: #9593
Enabled warn on tabs by default (fixes #9230)

Summary:
This revision enables -fwarn-tabs by default and add a suppression
flag, so that GHC compilation won't fail when some files contain tab
characters.

Test Plan: Additional test case, T9230, was added to cover that change.

Reviewers: austin

Reviewed By: austin

Subscribers: simonmar, ezyang, carter, thomie, mlen

Differential Revision: https://phabricator.haskell.org/D255

GHC Trac Issues: #9230

Conflicts:
	testsuite/driver/testlib.py
[skip ci] rts: Detabify RtsMessages.c

Signed-off-by: Austin Seipp <austin@well-typed.com>
[skip ci] rts: Detabify RaiseAsync.h

Signed-off-by: Austin Seipp <austin@well-typed.com>
[skip ci] rts: Detabify Capability.h

Signed-off-by: Austin Seipp <austin@well-typed.com>
[skip ci] rts: Detabify CheckUnload.c

Signed-off-by: Austin Seipp <austin@well-typed.com>
[skip ci] rts: Detabify Profiling.c

Signed-off-by: Austin Seipp <austin@well-typed.com>
[skip ci] rts: Detabify Threads.c

Signed-off-by: Austin Seipp <austin@well-typed.com>