<!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 data-premailer="ignore" type="text/css">
a { color: #1068bf; }
</style>


<style>img {
max-width: 100%; height: auto;
}
body {
font-size: 0.875rem;
}
body {
-webkit-text-shadow: rgba(255,255,255,0.01) 0 0 1px;
}
body {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans", Ubuntu, Cantarell, "Helvetica Neue", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; font-size: inherit;
}
</style>
</head>
<body style='font-size: inherit; -webkit-text-shadow: rgba(255,255,255,0.01) 0 0 1px; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans", Ubuntu, Cantarell, "Helvetica Neue", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";'>
<div class="content">

<h3 style="margin-top: 20px; margin-bottom: 10px;">
Marge Bot pushed to branch wip/marge_bot_batch_merge_job
at <a href="https://gitlab.haskell.org/ghc/ghc" style="color: #1068bf;">Glasgow Haskell Compiler / GHC</a>
</h3>
<h4 style="margin-top: 10px; margin-bottom: 10px;">
Commits:
</h4>
<ul>
<li>
<strong style="font-weight: bold;"><a href="https://gitlab.haskell.org/ghc/ghc/-/commit/270037faa124bf59dda8ba4f3d73b97d4c109a5f" style="color: #1068bf;">270037fa</a></strong>
<div>
<span>by Hécate Moonlight</span>
<i>at 2022-10-28T19:46:12-04:00</i>
</div>
<pre class="commit-message" style='white-space: pre-wrap; display: block; font-size: 0.8125rem; color: #303030; position: relative; font-family: "Menlo", "DejaVu Sans Mono", "Liberation Mono", "Consolas", "Ubuntu Mono", "Courier New", "andale mono", "lucida console", monospace; word-break: break-all; word-wrap: break-word; background-color: #fafafa; border-radius: 2px; margin: 0; padding: 8px 12px; border: 1px solid #dbdbdb;'>Start the deprecation process for GHC.Pack
</pre>
</li>
<li>
<strong style="font-weight: bold;"><a href="https://gitlab.haskell.org/ghc/ghc/-/commit/9cec68d10babb61ed053cae67ee3be2745cb38a2" style="color: #1068bf;">9cec68d1</a></strong>
<div>
<span>by M Farkas-Dyck</span>
<i>at 2022-11-01T10:37:01-04:00</i>
</div>
<pre class="commit-message" style='white-space: pre-wrap; display: block; font-size: 0.8125rem; color: #303030; position: relative; font-family: "Menlo", "DejaVu Sans Mono", "Liberation Mono", "Consolas", "Ubuntu Mono", "Courier New", "andale mono", "lucida console", monospace; word-break: break-all; word-wrap: break-word; background-color: #fafafa; border-radius: 2px; margin: 0; padding: 8px 12px; border: 1px solid #dbdbdb;'>Drop a kludge for binutils<2.17, which is now over 10 years old.
</pre>
</li>
<li>
<strong style="font-weight: bold;"><a href="https://gitlab.haskell.org/ghc/ghc/-/commit/5235def92d96e897c3312bbdc18d084f6ec1e673" style="color: #1068bf;">5235def9</a></strong>
<div>
<span>by Nicolas Trangez</span>
<i>at 2022-11-01T10:37:02-04:00</i>
</div>
<pre class="commit-message" style='white-space: pre-wrap; display: block; font-size: 0.8125rem; color: #303030; position: relative; font-family: "Menlo", "DejaVu Sans Mono", "Liberation Mono", "Consolas", "Ubuntu Mono", "Courier New", "andale mono", "lucida console", monospace; word-break: break-all; word-wrap: break-word; background-color: #fafafa; border-radius: 2px; margin: 0; padding: 8px 12px; border: 1px solid #dbdbdb;'>rts: `name` argument of `createOSThread` can be `const`

Since we don't intend to ever change the incoming string, declare this
to be true.

Also, in the POSIX implementation, the argument is no longer `STG_UNUSED`
(since ee0deb8054da2a597fc5624469b4c44fd769ada2) in any code path.

See: https://gitlab.haskell.org/ghc/ghc/-/commit/ee0deb8054da2a597fc5624469b4c44fd769ada2#note_460080
</pre>
</li>
<li>
<strong style="font-weight: bold;"><a href="https://gitlab.haskell.org/ghc/ghc/-/commit/2589e69ef0f4d0fef7cd834825d1f6950aaf82a8" style="color: #1068bf;">2589e69e</a></strong>
<div>
<span>by Nicolas Trangez</span>
<i>at 2022-11-01T10:37:02-04:00</i>
</div>
<pre class="commit-message" style='white-space: pre-wrap; display: block; font-size: 0.8125rem; color: #303030; position: relative; font-family: "Menlo", "DejaVu Sans Mono", "Liberation Mono", "Consolas", "Ubuntu Mono", "Courier New", "andale mono", "lucida console", monospace; word-break: break-all; word-wrap: break-word; background-color: #fafafa; border-radius: 2px; margin: 0; padding: 8px 12px; border: 1px solid #dbdbdb;'>rts: fix lifetime of `start_thread`s `name` value

Since, unlike the code in ee0deb8054da2^, usage of the `name` value
passed to `createOSThread` now outlives said function's lifetime, and
could hence be released by the caller by the time the new thread runs
`start_thread`, it needs to be copied.

See: https://gitlab.haskell.org/ghc/ghc/-/commit/ee0deb8054da2a597fc5624469b4c44fd769ada2#note_460080
See: https://gitlab.haskell.org/ghc/ghc/-/merge_requests/9066
</pre>
</li>
<li>
<strong style="font-weight: bold;"><a href="https://gitlab.haskell.org/ghc/ghc/-/commit/2220718ee685bfcc899f5e7b1f3956394566b172" style="color: #1068bf;">2220718e</a></strong>
<div>
<span>by Nicolas Trangez</span>
<i>at 2022-11-01T10:37:02-04:00</i>
</div>
<pre class="commit-message" style='white-space: pre-wrap; display: block; font-size: 0.8125rem; color: #303030; position: relative; font-family: "Menlo", "DejaVu Sans Mono", "Liberation Mono", "Consolas", "Ubuntu Mono", "Courier New", "andale mono", "lucida console", monospace; word-break: break-all; word-wrap: break-word; background-color: #fafafa; border-radius: 2px; margin: 0; padding: 8px 12px; border: 1px solid #dbdbdb;'>rts: fix OS thread naming in ticker

Since ee0deb805, the use of `pthread_setname_np` on Darwin was fixed
when invoking `createOSThread`. However, the 'ticker' has some
thread-creation code which doesn't rely on `createOSThread`, yet also
uses `pthread_setname_np`.

This patch enforces all thread creation to go through a single
function, which uses the (correct) thread-naming code introduced in
ee0deb805.

See: https://gitlab.haskell.org/ghc/ghc/-/commit/ee0deb8054da2a597fc5624469b4c44fd769ada2
See: https://gitlab.haskell.org/ghc/ghc/-/issues/22206
See: https://gitlab.haskell.org/ghc/ghc/-/merge_requests/9066
</pre>
</li>
<li>
<strong style="font-weight: bold;"><a href="https://gitlab.haskell.org/ghc/ghc/-/commit/b5d17d3cb5019ea5d0398ce7c70756736322ad15" style="color: #1068bf;">b5d17d3c</a></strong>
<div>
<span>by Krzysztof Gogolewski</span>
<i>at 2022-11-01T10:37:03-04:00</i>
</div>
<pre class="commit-message" style='white-space: pre-wrap; display: block; font-size: 0.8125rem; color: #303030; position: relative; font-family: "Menlo", "DejaVu Sans Mono", "Liberation Mono", "Consolas", "Ubuntu Mono", "Courier New", "andale mono", "lucida console", monospace; word-break: break-all; word-wrap: break-word; background-color: #fafafa; border-radius: 2px; margin: 0; padding: 8px 12px; border: 1px solid #dbdbdb;'>Typo: rename -fwrite-if-simplfied-core to -fwrite-if-simplified-core
</pre>
</li>
<li>
<strong style="font-weight: bold;"><a href="https://gitlab.haskell.org/ghc/ghc/-/commit/c5f96f1550c2f9663fa32371a05d000fd30383ad" style="color: #1068bf;">c5f96f15</a></strong>
<div>
<span>by Vladislav Zavialov</span>
<i>at 2022-11-01T10:37:03-04:00</i>
</div>
<pre class="commit-message" style='white-space: pre-wrap; display: block; font-size: 0.8125rem; color: #303030; position: relative; font-family: "Menlo", "DejaVu Sans Mono", "Liberation Mono", "Consolas", "Ubuntu Mono", "Courier New", "andale mono", "lucida console", monospace; word-break: break-all; word-wrap: break-word; background-color: #fafafa; border-radius: 2px; margin: 0; padding: 8px 12px; border: 1px solid #dbdbdb;'>ThToHs: fix overzealous parenthesization

Before this patch, when converting from TH.Exp to LHsExpr GhcPs,
the compiler inserted more parentheses than required:

        ((f a) (b + c)) d

This was happening because the LHS of the function application was
parenthesized as if it was the RHS.

Now we use funPrec and appPrec appropriately and produce sensibly
parenthesized expressions:

        f a (b + c) d

I also took the opportunity to remove the special case for LamE,
which was not special at all and simply duplicated code.
</pre>
</li>
<li>
<strong style="font-weight: bold;"><a href="https://gitlab.haskell.org/ghc/ghc/-/commit/bd4031b2abb1e8d35455ea5873ac34cc82b15d6a" style="color: #1068bf;">bd4031b2</a></strong>
<div>
<span>by Simon Peyton Jones</span>
<i>at 2022-11-01T10:37:04-04:00</i>
</div>
<pre class="commit-message" style='white-space: pre-wrap; display: block; font-size: 0.8125rem; color: #303030; position: relative; font-family: "Menlo", "DejaVu Sans Mono", "Liberation Mono", "Consolas", "Ubuntu Mono", "Courier New", "andale mono", "lucida console", monospace; word-break: break-all; word-wrap: break-word; background-color: #fafafa; border-radius: 2px; margin: 0; padding: 8px 12px; border: 1px solid #dbdbdb;'>Add accurate skolem info when quantifying

Ticket #22379 revealed that skolemiseQuantifiedTyVar was
dropping the passed-in skol_info on the floor when it encountered
a SkolemTv.  Bad!  Several TyCons thereby share a single SkolemInfo
on their binders, which lead to bogus error reports.
</pre>
</li>
<li>
<strong style="font-weight: bold;"><a href="https://gitlab.haskell.org/ghc/ghc/-/commit/8a675f4857b94a9206424f6947f8995b42df1e8d" style="color: #1068bf;">8a675f48</a></strong>
<div>
<span>by Fendor</span>
<i>at 2022-11-01T10:37:08-04:00</i>
</div>
<pre class="commit-message" style='white-space: pre-wrap; display: block; font-size: 0.8125rem; color: #303030; position: relative; font-family: "Menlo", "DejaVu Sans Mono", "Liberation Mono", "Consolas", "Ubuntu Mono", "Courier New", "andale mono", "lucida console", monospace; word-break: break-all; word-wrap: break-word; background-color: #fafafa; border-radius: 2px; margin: 0; padding: 8px 12px; border: 1px solid #dbdbdb;'>Expose UnitEnvGraphKey for user-code
</pre>
</li>
<li>
<strong style="font-weight: bold;"><a href="https://gitlab.haskell.org/ghc/ghc/-/commit/1070bf0729fa6511473457067c87ce58c689b9e8" style="color: #1068bf;">1070bf07</a></strong>
<div>
<span>by Simon Peyton Jones</span>
<i>at 2022-11-01T10:37:08-04:00</i>
</div>
<pre class="commit-message" style='white-space: pre-wrap; display: block; font-size: 0.8125rem; color: #303030; position: relative; font-family: "Menlo", "DejaVu Sans Mono", "Liberation Mono", "Consolas", "Ubuntu Mono", "Courier New", "andale mono", "lucida console", monospace; word-break: break-all; word-wrap: break-word; background-color: #fafafa; border-radius: 2px; margin: 0; padding: 8px 12px; border: 1px solid #dbdbdb;'>Shrink test case for #22357

Ryan Scott offered a cut-down repro case
(60 lines instead of more than 700 lines)
</pre>
</li>
<li>
<strong style="font-weight: bold;"><a href="https://gitlab.haskell.org/ghc/ghc/-/commit/963c17b77bd89c026e937405582e6b669f2ec414" style="color: #1068bf;">963c17b7</a></strong>
<div>
<span>by Simon Peyton Jones</span>
<i>at 2022-11-01T10:37:08-04:00</i>
</div>
<pre class="commit-message" style='white-space: pre-wrap; display: block; font-size: 0.8125rem; color: #303030; position: relative; font-family: "Menlo", "DejaVu Sans Mono", "Liberation Mono", "Consolas", "Ubuntu Mono", "Courier New", "andale mono", "lucida console", monospace; word-break: break-all; word-wrap: break-word; background-color: #fafafa; border-radius: 2px; margin: 0; padding: 8px 12px; border: 1px solid #dbdbdb;'>Add two tests for #17366
</pre>
</li>
</ul>
<h4 style="margin-top: 10px; margin-bottom: 10px;">30 changed files:</h4>
<ul>
<li class="file-stats">
<a href="#2bae5947e9412f6deebf4db7dcb89d780913130f" style="color: #1068bf;">
compiler/GHC/CmmToAsm/X86/CodeGen.hs
</a>
</li>
<li class="file-stats">
<a href="#335d279236d65dcf13f2bab3891e515cb803203c" style="color: #1068bf;">
compiler/GHC/CmmToAsm/X86/Ppr.hs
</a>
</li>
<li class="file-stats">
<a href="#9a679a2680ef6061397f1987091ea9f96ffe095d" style="color: #1068bf;">
compiler/GHC/Driver/Main.hs
</a>
</li>
<li class="file-stats">
<a href="#774d88050336ef660c7a219fb06c480c2fc639bc" style="color: #1068bf;">
compiler/GHC/Driver/Session.hs
</a>
</li>
<li class="file-stats">
<a href="#9355bef855426caf5f526925edf351b20f9a86c4" style="color: #1068bf;">
compiler/GHC/Tc/Gen/HsType.hs
</a>
</li>
<li class="file-stats">
<a href="#83d23a46bb6cdc8b1edc16f1fd2c8f5c53e2c9ca" style="color: #1068bf;">
compiler/GHC/Tc/TyCl.hs
</a>
</li>
<li class="file-stats">
<a href="#94c96afe1bb3b771ffbcfeeca34ce43ebbe76ccb" style="color: #1068bf;">
compiler/GHC/Tc/Utils/TcMType.hs
</a>
</li>
<li class="file-stats">
<a href="#5461e7beeb7ae73d7c01f720cbaa3fa2c5333590" style="color: #1068bf;">
compiler/GHC/Tc/Utils/TcType.hs
</a>
</li>
<li class="file-stats">
<a href="#2eac51f9871ca0c0698aa1fc7f79c05ef8fc4a49" style="color: #1068bf;">
compiler/GHC/ThToHs.hs
</a>
</li>
<li class="file-stats">
<a href="#27f7fa37f7e08bdc4c1189197f04573076ce588f" style="color: #1068bf;">
compiler/GHC/Unit/Env.hs
</a>
</li>
<li class="file-stats">
<a href="#27b1e3c3b63e8d9e1acc9ebc5a30f7aaa728f91c" style="color: #1068bf;">
compiler/GHC/Unit/Module/WholeCoreBindings.hs
</a>
</li>
<li class="file-stats">
<a href="#12f1226bde7e9f48203d34d8d857513f2f1f4d75" style="color: #1068bf;">
docs/users_guide/phases.rst
</a>
</li>
<li class="file-stats">
<a href="#edd5dba427b2849033a3ef3ba0dc25904620ded6" style="color: #1068bf;">
libraries/base/GHC/Pack.hs
</a>
</li>
<li class="file-stats">
<a href="#c9b281ee5d45acadf295882d752fcc653ee17163" style="color: #1068bf;">
rts/include/rts/OSThreads.h
</a>
</li>
<li class="file-stats">
<a href="#cc73d9e9eaa9bba27d82a52a4c9ad6e125643836" style="color: #1068bf;">
rts/posix/OSThreads.c
</a>
</li>
<li class="file-stats">
<a href="#44e9aeed663fc63b690c847337719e8c6094ed1a" style="color: #1068bf;">
rts/posix/ticker/Pthread.c
</a>
</li>
<li class="file-stats">
<a href="#e5126dd1daf9feab82a868e5b885b448825fd31e" style="color: #1068bf;">
rts/win32/OSThreads.c
</a>
</li>
<li class="file-stats">
<a href="#16091b88d6db1b9d66b435298616c71930f5ce1e" style="color: #1068bf;">
testsuite/tests/deriving/should_fail/T21871.stderr
</a>
</li>
<li class="file-stats">
<a href="#5c6ade3194ffb0114c5573338182784b91423ca9" style="color: #1068bf;">
testsuite/tests/driver/fat-iface/Makefile
</a>
</li>
<li class="file-stats">
<a href="#4804182f9ab473568a0d2d360c33f69698f37b52" style="color: #1068bf;">
testsuite/tests/indexed-types/should_fail/T15870.stderr
</a>
</li>
<li class="file-stats">
<a href="#92f1028b03d3f14707a375458bab800ff0adb968" style="color: #1068bf;">
<span class="new-file">
+
testsuite/tests/polykinds/T22379a.hs
</span>
</a>
</li>
<li class="file-stats">
<a href="#a93efbcec65b5ae7cc47baf5c25bbafb6560569f" style="color: #1068bf;">
<span class="new-file">
+
testsuite/tests/polykinds/T22379b.hs
</span>
</a>
</li>
<li class="file-stats">
<a href="#37bb83d0a916288b2296ba25cdbbef228eed6484" style="color: #1068bf;">
testsuite/tests/polykinds/all.T
</a>
</li>
<li class="file-stats">
<a href="#8803c4d6eb3ccc48648178b1c20790b7a5142d10" style="color: #1068bf;">
<span class="new-file">
+
testsuite/tests/simplCore/should_compile/T17366.hs
</span>
</a>
</li>
<li class="file-stats">
<a href="#089e83feefd2501e3855d9a3a76002453bfd73b9" style="color: #1068bf;">
<span class="new-file">
+
testsuite/tests/simplCore/should_compile/T17366.stderr
</span>
</a>
</li>
<li class="file-stats">
<a href="#f9eba5057a0c82e404fe2fdc968dcfc6c8248f9a" style="color: #1068bf;">
<span class="new-file">
+
testsuite/tests/simplCore/should_compile/T17366_AR.hs
</span>
</a>
</li>
<li class="file-stats">
<a href="#82780673ac64d743835eae612f3033abf0726d7c" style="color: #1068bf;">
<span class="new-file">
+
testsuite/tests/simplCore/should_compile/T17366_AR.stderr
</span>
</a>
</li>
<li class="file-stats">
<a href="#456f7ddd339c2ef7f95a9e1d91142f4a3a083bca" style="color: #1068bf;">
<span class="new-file">
+
testsuite/tests/simplCore/should_compile/T17366_ARa.hs
</span>
</a>
</li>
<li class="file-stats">
<a href="#ba4279b4ead56c9b8496b0adfa72b4bf7180aa6e" style="color: #1068bf;">
<span class="new-file">
+
testsuite/tests/simplCore/should_compile/T17366a.hs
</span>
</a>
</li>
<li class="file-stats">
<a href="#576f5bd1993edefa1d4954d3f49d8cc2881a5645" style="color: #1068bf;">
testsuite/tests/simplCore/should_compile/T22357.hs
</a>
</li>
</ul>
<h5 style="margin-top: 10px; margin-bottom: 10px; font-size: 0.875rem;">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: #666;">

<br>
<a href="https://gitlab.haskell.org/ghc/ghc/-/compare/454b824409fefc8ccaeb05d52d2bc97d52ae94ca...963c17b77bd89c026e937405582e6b669f2ec414" style="color: #1068bf;">View it on GitLab</a>.
<br>
You're receiving this email because of your account on <a target="_blank" rel="noopener noreferrer" href="https://gitlab.haskell.org" style="color: #1068bf;">gitlab.haskell.org</a>. <a href="https://gitlab.haskell.org/-/profile/notifications" target="_blank" rel="noopener noreferrer" class="mng-notif-link" style="color: #1068bf;">Manage all notifications</a> · <a href="https://gitlab.haskell.org/help" target="_blank" rel="noopener noreferrer" class="help-link" style="color: #1068bf;">Help</a>



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