add casArray# primop, similar to casMutVar# but for array elements
Tweak stg_casArrayzh as per Simon Marlow's suggestion.
Update stg_casArrayzh to conform to new CMM conventions.
Add PrimOp: casIntArray#.  Modify casMutVar# for 'ticketed' style.
Add PrimOp fetchAddIntArray# plus supporting C function atomic_inc_by.
Eliminate atomic_inc_by and instead medofiy atomic_inc.
minor bugfix to casIntArray# and fetchAddIntArray#
Remove dead code.

GHC >= 7.4 is needed to bootstrap.

Signed-off-by: Austin Seipp <aseipp@pobox.com>
Revert "Add support for external repositories to sync-all"

This reverts commit 2e41f2fa91c833a4420ac273254e49468044bc4b.

Signed-off-by: Austin Seipp <aseipp@pobox.com>
Fix windows detection in ./sync-all.

We weren't considering 'msys' for the $OSNAME.

Signed-off-by: Austin Seipp <aseipp@pobox.com>
Fingerprint: Fix comment typo

Signed-off-by: Austin Seipp <aseipp@pobox.com>
Fingerprint.getFileHash: Fix not reading file at all.

This lead to the stage1 compiler calculating random iface hashes.

Signed-off-by: Austin Seipp <aseipp@pobox.com>
Fix validation failure in Fingerprint.hsc

Signed-off-by: Austin Seipp <aseipp@pobox.com>
Fix build for i386/windows.

symbol_extras is only part of ObjectCode on certain platforms.

Signed-off-by: Austin Seipp <aseipp@pobox.com>
Remove unused ghc-frontpanel.glade file

Signed-off-by: Austin Seipp <aseipp@pobox.com>
dll-split: Say where to update module list and fix a typo.

Signed-off-by: Edward Z. Yang <ezyang@mit.edu>
Fix GHCi macros not shadowing builtins (#8113)

This restores the original behaviour that was broken accidentally during
the refactoring peformed via 4f764d06f3b9899c09a6a459a22d4be694ee45d9.

This has been broken effectively for all GHC 7.6.x releases.
Fix i386/Linux build.

Signed-off-by: Austin Seipp <aseipp@pobox.com>
Fix build on non-unicode locale

happy reads .y files with the system encoding, so keep Parser.y.pp ASCII.

Signed-off-by: Austin Seipp <aseipp@pobox.com>
Add support for iOS simulator (issue #8152).

The iOS simulator is essentially an iOS target but for an x86 machine
instead. It doesn't support the native code generator either, though.

Authored-by: Stephen Blackheath <...@blacksapphire.com>
Signed-off-by: Austin Seipp <aseipp@pobox.com>