[Git][ghc/ghc][wip/marge_bot_batch_merge_job] 18 commits: Add missing primop documentation (#18454)

Marge Bot gitlab at gitlab.haskell.org
Mon Aug 31 21:39:16 UTC 2020



 Marge Bot pushed to branch wip/marge_bot_batch_merge_job at Glasgow Haskell Compiler / GHC


Commits:
c6f50cea by Krzysztof Gogolewski at 2020-08-28T02:22:36-04:00
Add missing primop documentation (#18454)

- Add three pseudoops to primops.txt.pp, so that Haddock renders
  the documentation
- Update comments
- Remove special case for "->" - it's no longer exported from GHC.Prim
- Remove reference to Note [Compiling GHC.Prim] - the ad-hoc fix is no
  longer there after updates to levity polymorphism.
- Document GHC.Prim
- Remove the comment that lazy is levity-polymorphic.
  As far as I can tell, it never was: in 80e399639,
  only the unfolding was given an open type variable.
- Remove haddock hack in GHC.Magic - no longer neccessary after
  adding realWorld# to primops.txt.pp.

- - - - -
f065b6b0 by Tamar Christina at 2020-08-28T02:23:13-04:00
Fix use distro toolchian

- - - - -
4517a382 by Tamar Christina at 2020-08-28T02:23:13-04:00
document how build system find toolchains on Windows

- - - - -
3bfdd981 by Ben Gamari at 2020-08-31T17:38:53-04:00
base: Better error message on invalid getSystemTimerManager call

Previously we would produce a rather unhelpful pattern match failure
error in the case where the user called `getSystemTimerManager` in a
program which isn't built with `-threaded`. This understandably confused
the user in #15616.

Fixes #15616.

- - - - -
0f62fa07 by Roland Senn at 2020-08-31T17:38:54-04:00
Add tests for #15617.

Avoid a similar regression in the future.

- - - - -
4e834ac8 by Roland Senn at 2020-08-31T17:38:55-04:00
Add additional tests for #18172 (Followup MR 3543)

There was still one active discussion [thread](https://gitlab.haskell.org/ghc/ghc/-/merge_requests/3543#note_284325) when MR !3543 got merged.

This MR adds the requested tests exercising the changes in
`compiler/GHC/HsToCore/Match/Literal.hs:warnAboutEmptyEnumerations` and its sub-functions.

- - - - -
bf4ac6d3 by Ben Gamari at 2020-08-31T17:38:55-04:00
Bump Win32 and process submodules

- - - - -
f2b71ca7 by Sylvain Henry at 2020-08-31T17:38:59-04:00
Hadrian: fix slow-validate flavour (#18586)

- - - - -
25fd1345 by Andreas Klebinger at 2020-08-31T17:38:59-04:00
Update dominator code with fixes from the dom-lt package.

Two bugs turned out in the package that have been fixed since.
This MR includes this fixes in the GHC port of the code.

- - - - -
36036ed7 by Andreas Klebinger at 2020-08-31T17:38:59-04:00
Dominators.hs: Use unix line endings

- - - - -
c55fc0d6 by Moritz Angermann at 2020-08-31T17:39:00-04:00
[fixup 3433] move debugBelch into IF_DEBUG(linker)

The commit in dff1cb3d9c111808fec60190747272b973547c52 incorrectly left
the `debugBelch` function without a comment or IF_DEBUG(linker,)
decoration. This rectifies it.

Needs at least a 8.10 backport, as it was backported in 6471cc6aff80d5deebbdb1bf7b677b31ed2af3d5

- - - - -
6e97fe09 by Sylvain Henry at 2020-08-31T17:39:01-04:00
Don't store HomeUnit in UnitConfig

Allow the creation of a UnitConfig (hence of a UnitState) without having
a HomeUnit. It's required for #14335.

- - - - -
ccbf9cf1 by Sylvain Henry at 2020-08-31T17:39:02-04:00
Fix documentation and fix "check" bignum backend (#18604)

- - - - -
866dec95 by Moritz Angermann at 2020-08-31T17:39:03-04:00
Set the dynamic-system-linker flag to Manual

This flag should be user controllable, hence Manual: True.

- - - - -
3438b4eb by Sven Tennie at 2020-08-31T17:39:03-04:00
Ignore more files

Ignore files from "new style" cabal builds (dist-newstyle folders) and
from clangd (C language server).

- - - - -
0718c8ec by Takenobu Tani at 2020-08-31T17:39:05-04:00
Limit upper version of Happy for ghc-9.0 and earlier (#18620)

This patch adds the upper bound of a happy version for ghc-9.0
and earlier.

Currently, we can't use happy-1.20.0 for ghc-9.0.

See #18620.

- - - - -
f815b3bb by Takenobu Tani at 2020-08-31T17:39:05-04:00
Limit upper version of Happy for ghc-9.2 (#18620)

This patch adds the upper bound of a happy version for ghc-9.2.

Currently, We can use happy-1.19 or happy-1.20 for ghc-9.2.

See #18620.

- - - - -
b1fd44ba by Sylvain Henry at 2020-08-31T17:39:07-04:00
Bignum: add BigNat compat functions (#18613)

- - - - -


30 changed files:

- .gitignore
- aclocal.m4
- compiler/GHC/Builtin/Utils.hs
- compiler/GHC/Builtin/primops.txt.pp
- compiler/GHC/CmmToAsm/CFG/Dominators.hs
- compiler/GHC/Iface/Load.hs
- compiler/GHC/SysTools/BaseDir.hs
- compiler/GHC/Types/Id/Make.hs
- compiler/GHC/Types/Unique/Supply.hs
- compiler/GHC/Unit/State.hs
- compiler/ghc.cabal.in
- configure.ac
- hadrian/cfg/system.config.in
- hadrian/hadrian.cabal
- hadrian/src/Oracles/Flag.hs
- hadrian/src/Oracles/Setting.hs
- hadrian/src/Rules/Generate.hs
- hadrian/src/Settings/Flavours/Validate.hs
- includes/ghc.mk
- libraries/Win32
- libraries/base/GHC/Event/Thread.hs
- libraries/ghc-bignum/src/GHC/Num/BigNat/Check.hs
- libraries/ghc-bignum/src/GHC/Num/BigNat/FFI.hs
- libraries/ghc-bignum/src/GHC/Num/BigNat/GMP.hs
- libraries/ghc-bignum/src/GHC/Num/BigNat/Native.hs
- libraries/ghc-bignum/src/GHC/Num/WordArray.hs
- libraries/ghc-prim/GHC/Magic.hs
- libraries/integer-gmp/src/GHC/Integer/GMP/Internals.hs
- libraries/process
- mk/config.mk.in


The diff was not included because it is too large.


View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/36098d00f0906efd87bc4ca7d37001c7658904d5...b1fd44bad93ff54b9e956e4041fd56a83fc4a776

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/36098d00f0906efd87bc4ca7d37001c7658904d5...b1fd44bad93ff54b9e956e4041fd56a83fc4a776
You're receiving this email because of your account on gitlab.haskell.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20200831/52fe845c/attachment.html>


More information about the ghc-commits mailing list