<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<html lang="en">
<head>
<meta content="text/html; charset=US-ASCII" http-equiv="Content-Type">
<title>
GitLab
</title>



<style>img {
max-width: 100%; height: auto;
}
</style>
</head>
<body>
<div class="content">

<h3>
Ben Gamari pushed to branch wip/T15336
at <a href="https://gitlab.haskell.org/ghc/ghc">Glasgow Haskell Compiler / GHC</a>
</h3>
<h4>
Commits:
</h4>
<ul>
<li>
<strong><a href="https://gitlab.haskell.org/ghc/ghc/commit/20b4d5ecabc59062b7a841ce20b631364d8f8645">20b4d5ec</a></strong>
<div>
<span>by Ben Gamari</span>
<i>at 2019-06-16T03:32:38Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Disable optimisation when building Cabal lib for stage0

This disables optimisation when building Cabal for Hadrian and
stage0 `ghc-cabal`. Cabal is performance critical in neither case nor
will any performance difference here be visible to the end-user.

See #16817.
</pre>
</li>
<li>
<strong><a href="https://gitlab.haskell.org/ghc/ghc/commit/76b7f619385ac5d126dd186ff3bfe4cdad9349e7">76b7f619</a></strong>
<div>
<span>by Ben Gamari</span>
<i>at 2019-06-16T03:32:38Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Disable optimisation when building Cabal in development flavours

This updates the make and Hadrian build flavours targetting developers
to disable optimisation when building the Cabal library. Cabal tends to
tickle some very bad compiler performance cases (e.g. #16577) so
disabling optimisation here makes a sizeable impact on overall build
time.

See #16817.
</pre>
</li>
<li>
<strong><a href="https://gitlab.haskell.org/ghc/ghc/commit/0d2a4258c1a025c2610a415e951efe4e2ed8970a">0d2a4258</a></strong>
<div>
<span>by Ben Gamari</span>
<i>at 2019-06-16T03:33:13Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">testsuite: Introduce concurrent_ways set

Previously we just tested for the threaded2 when determining whether to
skip tests which are fragile under concurrent execution. However, this
isn't the only way which is concurrent.
</pre>
</li>
<li>
<strong><a href="https://gitlab.haskell.org/ghc/ghc/commit/beacb6fd898db43382fedf8b9a7e6657e53fca9a">beacb6fd</a></strong>
<div>
<span>by Ben Gamari</span>
<i>at 2019-06-16T03:33:13Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">testsuite: Skip hDuplicateTo001 in concurrent ways

As noted in #16819, this operation is racy under concurrent execution.
</pre>
</li>
<li>
<strong><a href="https://gitlab.haskell.org/ghc/ghc/commit/ca721193fc71c065036deecfb9d4274fbfc6850d">ca721193</a></strong>
<div>
<span>by Aiken Cairncross</span>
<i>at 2019-06-16T03:33:50Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Fix typo in error message
</pre>
</li>
<li>
<strong><a href="https://gitlab.haskell.org/ghc/ghc/commit/57b718481d5363ab33df4c7814f74897418f79d7">57b71848</a></strong>
<div>
<span>by Ben Gamari</span>
<i>at 2019-06-16T03:34:25Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">testsuite: Add assertions that way lists are in fact lists

Previously there were a few cases where operations like `omit_ways`
were incorrectly passed a single way (e.g. `omit_ways('threaded2')`).
This won't work as the author expected.
</pre>
</li>
<li>
<strong><a href="https://gitlab.haskell.org/ghc/ghc/commit/25ee60cdae6ddedaf6b4677c6327c0f31c81073a">25ee60cd</a></strong>
<div>
<span>by Ryan Scott</span>
<i>at 2019-06-16T03:35:03Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Synchronize ClsInst.doTyConApp with TcTypeable validity checks (#15862)

Issue #15862 demonstrated examples of type constructors on which
`TcTypeable.tyConIsTypeable` would return `False`, but the `Typeable`
constraint solver in `ClsInst` (in particular, `doTyConApp`) would
try to generate `Typeable` evidence for anyway, resulting in
disaster. This incongruity was caused by the fact that `doTyConApp`
was using a weaker validity check than `tyConIsTypeable` to determine
if a type constructor warrants `Typeable` evidence or not. The
solution, perhaps unsurprisingly, is to use `tyConIsTypeable` in
`doTyConApp` instead.

To avoid import cycles between `ClsInst` and `TcTypeable`, I factored
out `tyConIsTypeable` into its own module, `TcTypeableValidity`.

Fixes #15862.
</pre>
</li>
<li>
<strong><a href="https://gitlab.haskell.org/ghc/ghc/commit/4138bf868534f54d47643c0aa38d4dce89135501">4138bf86</a></strong>
<div>
<span>by Krzysztof Gogolewski</span>
<i>at 2019-06-16T03:35:38Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Remove dead code
</pre>
</li>
<li>
<strong><a href="https://gitlab.haskell.org/ghc/ghc/commit/db313f987f353cd2691b42c85866a62f5c0a903c">db313f98</a></strong>
<div>
<span>by Ben Gamari</span>
<i>at 2019-06-16T10:26:38Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">base/Event/Poll: Drop POLLRDHUP enum item

Previously the Event enumeration produced by hsc2hs would sometimes
include a currently-unused POLLRDHUP item. This unused binding would
result in a build failure. Drop it.
</pre>
</li>
<li>
<strong><a href="https://gitlab.haskell.org/ghc/ghc/commit/81608e82dfed7e78c1bba189f26c8c760f7c196a">81608e82</a></strong>
<div>
<span>by Ben Gamari</span>
<i>at 2019-06-16T10:26:38Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">testsuite: Fix T8602 on musl

Musl wants hash-bangs on all executables.
</pre>
</li>
<li>
<strong><a href="https://gitlab.haskell.org/ghc/ghc/commit/a0f683795a72f7b82962d24098b1dc7c2b04ab29">a0f68379</a></strong>
<div>
<span>by Ben Gamari</span>
<i>at 2019-06-16T10:26:38Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">testsuite: Ensure T5423 flushes C output buffer

Previously T5423 would fail to flush the printf output buffer.
Consequently it was platform-dependent whether the C or Haskell print
output would be emitted first.
</pre>
</li>
<li>
<strong><a href="https://gitlab.haskell.org/ghc/ghc/commit/543dfaab166c81f46ac4af76918ce32190aaab22">543dfaab</a></strong>
<div>
<span>by Ben Gamari</span>
<i>at 2019-06-16T10:26:38Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">testsuite: Flush conc059's printf buffer

Otherwise it the order out the Haskell and C output will be
system-dependent.
</pre>
</li>
<li>
<strong><a href="https://gitlab.haskell.org/ghc/ghc/commit/e647752e7b99c2fb198b652bc00c531cf31878cf">e647752e</a></strong>
<div>
<span>by Ben Gamari</span>
<i>at 2019-06-16T10:26:38Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">testsuite: Ensure that ffi005 output order is predictable

The libc output buffer wasn't being flushed, making the order
system-depedent.
</pre>
</li>
<li>
<strong><a href="https://gitlab.haskell.org/ghc/ghc/commit/338336d37eaaac614c6f2c3b077417195b05e713">338336d3</a></strong>
<div>
<span>by Ben Gamari</span>
<i>at 2019-06-16T10:26:38Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">gitlab-ci: Build alpine release bindists
</pre>
</li>
<li>
<strong><a href="https://gitlab.haskell.org/ghc/ghc/commit/75c6ccf72b2e9c363fad6b91dd4a39525f17a4c5">75c6ccf7</a></strong>
<div>
<span>by Alp Mestanogullari</span>
<i>at 2019-06-16T10:27:17Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">fix runghc's GHC detection logic to cover the "in-tree Hadrian build" scenario

Before this patch, runghc would only run the GHC detection logic on Windows and
assume that it was invoked through a wrapper script on all other platforms.
This patch lifts this limitation and makes that logic work for the scenario
where someone is calling the runghc executable directly, without passing an
explicit path to GHC.
</pre>
</li>
<li>
<strong><a href="https://gitlab.haskell.org/ghc/ghc/commit/3c35e14058f909bf0c26b5553fc9c61559fc5708">3c35e140</a></strong>
<div>
<span>by Ben Gamari</span>
<i>at 2019-06-16T23:38:51Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">testsuite: Really fix #16741

The previous fix, !1095, didn't work as `--show-iface` ignores
`-dsuppress-ticks`. Rework the test instead.
</pre>
</li>
<li>
<strong><a href="https://gitlab.haskell.org/ghc/ghc/commit/b3bb1b06b875291cfd7be2a0c0afc87f3c0574e0">b3bb1b06</a></strong>
<div>
<span>by Ben Gamari</span>
<i>at 2019-06-16T23:38:51Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">gitlab-ci: Don't allow failure of deb9-dwarf job

This #16741 out of the way this should now pass.
</pre>
</li>
<li>
<strong><a href="https://gitlab.haskell.org/ghc/ghc/commit/b965de1ef0e2770f71d49d66f88df7fa7cd2cd58">b965de1e</a></strong>
<div>
<span>by Ömer Sinan Ağacan</span>
<i>at 2019-06-16T23:39:29Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Use TupleSections in CmmParse.y, simplify a few exprs
</pre>
</li>
<li>
<strong><a href="https://gitlab.haskell.org/ghc/ghc/commit/63965ae3a3aa0ea2a2f7462337892898b8880880">63965ae3</a></strong>
<div>
<span>by Ben Gamari</span>
<i>at 2019-06-17T05:20:21Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">make: Clean includes/settings file

Now since this is generated by the build system we should ensure that it
is properly cleaned.

[skip ci]
</pre>
</li>
<li>
<strong><a href="https://gitlab.haskell.org/ghc/ghc/commit/bb141114ad4e4eb6db66e212fa08d93257b99bbc">bb141114</a></strong>
<div>
<span>by Siddharth Bhat</span>
<i>at 2019-06-17T05:20:57Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Add link to mfix.github.io/ghc in HACKING.md
</pre>
</li>
<li>
<strong><a href="https://gitlab.haskell.org/ghc/ghc/commit/68627b65e1cde33bb18399e4edae83f02d31d388">68627b65</a></strong>
<div>
<span>by Ben Gamari</span>
<i>at 2019-06-18T13:33:57Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ghci: Don't rely on resolution of System.IO to base module

Previously we would hackily evaluate a textual code snippet to compute
actions to disable I/O buffering and flush the stdout/stderr handles.
This broke in a number of ways (#15336, #16563).

Instead we now ship a module (`GHC.GHCi.Helpers`) with `base` containing
the needed actions. We can then easily refer to these via `Orig` names.
</pre>
</li>
<li>
<strong><a href="https://gitlab.haskell.org/ghc/ghc/commit/db015ba752ef352b50f2d15f200a585387be630f">db015ba7</a></strong>
<div>
<span>by Ben Gamari</span>
<i>at 2019-06-18T13:33:57Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">testsuite: Add test for #16563
</pre>
</li>
</ul>
<h4>30 changed files:</h4>
<ul>
<li class="file-stats">
<a href="#587d266bb27a4dc3022bbed44dfa19849df3044c">
.gitlab-ci.yml
</a>
</li>
<li class="file-stats">
<a href="#0c39c6a7c54e5d668d208665d6e5ccecdd3bb246">
HACKING.md
</a>
</li>
<li class="file-stats">
<a href="#6ef05b1b6c1d8310a12b77b1b849f9dad563141c">
compiler/cmm/CmmParse.y
</a>
</li>
<li class="file-stats">
<a href="#bd37d71fa68b0980d832d992b427fd6a6bdb891d">
compiler/deSugar/Check.hs
</a>
</li>
<li class="file-stats">
<a href="#0f33fd88c617246c7f89c4477d2d1d24f942df23">
compiler/ghc.cabal.in
</a>
</li>
<li class="file-stats">
<a href="#7b2a3c8a780cfa42412ee2700454599d02c3f69d">
compiler/prelude/PrelNames.hs
</a>
</li>
<li class="file-stats">
<a href="#37f09a91c73d75c257137f9bb90903d0d455b258">
compiler/rename/RnSplice.hs
</a>
</li>
<li class="file-stats">
<a href="#50402e2a64c9aa60a1a76e237271322d2f6325dc">
compiler/simplCore/CoreMonad.hs
</a>
</li>
<li class="file-stats">
<a href="#ebb1ec79dce7edc8f7cb87a0b109b53cbc02105d">
compiler/typecheck/ClsInst.hs
</a>
</li>
<li class="file-stats">
<a href="#89165943f253c43100bca06548eba40ff0519ca5">
compiler/typecheck/TcEvidence.hs
</a>
</li>
<li class="file-stats">
<a href="#fa5bd207fd28db668d069147fd989ad2ac810fd7">
compiler/typecheck/TcRnMonad.hs
</a>
</li>
<li class="file-stats">
<a href="#385f906219a06a4d607c6d990b0ea2a1fd047192">
compiler/typecheck/TcTypeable.hs
</a>
</li>
<li class="file-stats">
<a href="#6aaa86ef6a550bdcf719c982026974b2841aded6">
<span class="new-file">
+
compiler/typecheck/TcTypeableValidity.hs
</span>
</a>
</li>
<li class="file-stats">
<a href="#817678516bffba07d7b732b6def1c26004862570">
compiler/utils/MonadUtils.hs
</a>
</li>
<li class="file-stats">
<a href="#8bdb62b981f38737157a853655e494433eea6796">
ghc.mk
</a>
</li>
<li class="file-stats">
<a href="#57d22eb49f269b51f07e23c509834d85e25f691e">
ghc/GHCi/UI/Monad.hs
</a>
</li>
<li class="file-stats">
<a href="#5b653ef3b00262d0f1454de11e0714bd59d072e5">
hadrian/cabal.project
</a>
</li>
<li class="file-stats">
<a href="#6d5bb3f66af29932d469deefe0f4351faf14a304">
hadrian/src/Settings/Flavours/Development.hs
</a>
</li>
<li class="file-stats">
<a href="#b1e1421b2cc807278e3f984921929a2ba48b4f93">
libraries/base/GHC/Event/Poll.hsc
</a>
</li>
<li class="file-stats">
<a href="#d323d108fe74db3c82576e0a81b4edc5c07a5bfc">
<span class="new-file">
+
libraries/base/GHC/GHCi/Helpers.hs
</span>
</a>
</li>
<li class="file-stats">
<a href="#b7cfb47853ef95330e499ca0c5b90964744d101f">
libraries/base/base.cabal
</a>
</li>
<li class="file-stats">
<a href="#30496c57b423afb3d9f73f8d95c833e904ee36d9">
libraries/base/tests/IO/all.T
</a>
</li>
<li class="file-stats">
<a href="#e367786014114f762e66eee7362d8408f6a9aa9b">
libraries/base/tests/Numeric/all.T
</a>
</li>
<li class="file-stats">
<a href="#b817c80cbb15890d9a6df41e91d15d7442471f3c">
libraries/base/tests/all.T
</a>
</li>
<li class="file-stats">
<a href="#eda903e01cf88e7ce73a341d5fc0bb4d12470b60">
mk/flavours/devel1.mk
</a>
</li>
<li class="file-stats">
<a href="#617f322f762edbe7d7ca48ebfaea08450b81d6a9">
mk/flavours/devel2.mk
</a>
</li>
<li class="file-stats">
<a href="#0eae710e53f295c3bfbcaebf4eb79ce2f0e54122">
mk/flavours/validate.mk
</a>
</li>
<li class="file-stats">
<a href="#0318d7198b933e41e458fd7073d9bd9dee267e7d">
testsuite/config/ghc
</a>
</li>
<li class="file-stats">
<a href="#c591f85f122007bac88228c5ff6fd76b40e6a811">
testsuite/driver/testlib.py
</a>
</li>
<li class="file-stats">
<a href="#6b1c188363067aa37c05e3a281dad45535511b14">
testsuite/tests/codeGen/should_compile/all.T
</a>
</li>
</ul>
<h5>The diff was not included because it is too large.</h5>

</div>
<div class="footer" style="margin-top: 10px;">
<p style="font-size: small; color: #777;">

<br>
<a href="https://gitlab.haskell.org/ghc/ghc/compare/750b199a0d971ebc02b367fcd19c4d646e8bf664...db015ba752ef352b50f2d15f200a585387be630f">View it on GitLab</a>.
<br>
You're receiving this email because of your account on gitlab.haskell.org.
If you'd like to receive fewer emails, you can
adjust your notification settings.


</p>
</div>
</body>
</html>