<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<html lang="en" style='--code-editor-font: var(--default-mono-font, "GitLab Mono"), JetBrains Mono, Menlo, DejaVu Sans Mono, Liberation Mono, Consolas, Ubuntu Mono, Courier New, andale mono, lucida console, monospace;'>
<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: .875rem;
}
body {
-webkit-text-shadow: rgba(255,255,255,.01) 0 0 1px;
}
body {
font-family: "GitLab Sans",-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,.01) 0 0 1px; font-family: "GitLab Sans",-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;">
Cheng Shao pushed to branch wip/kill-pre-c11-with-centos7-fix at <a href="https://gitlab.haskell.org/ghc/ghc">Glasgow Haskell Compiler / GHC</a>
</h3>
<h4 style="margin-top: 10px; margin-bottom: 10px;">
Commits:
</h4>
<ul>
<li>
<strong style="font-weight: 600;"><a href="https://gitlab.haskell.org/ghc/ghc/-/commit/f58fab20c086de10cdf289d9c1976433a1725643">f58fab20</a></strong>
<div>
<span> by Cheng Shao </span> <i> at 2024-11-09T18:22:11+00:00 </i>
</div>
<pre class="commit-message" style='white-space: pre-wrap; display: block; font-size: 14px; color: #28272d; position: relative; font-family: "GitLab Mono","JetBrains Mono","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: #fbfafd; border-radius: 2px; margin: 0; padding: 8px 12px; border: 1px solid #dcdcde;'>Remove legacy pre-C11 logic from the tree
GHC has required C11 support from the C compiler since a long time
ago. This patch cleans up pre-C11 logic from the tree:
- autoconf/ghc-toolchain logic to add C99 flag into CPPFLAGS/CFLAGS
are changed to add C11 flag instead (in practice invoked only for
centos7 with gcc 4.8)
- Redundant CPP-logic around __GNUC__ is cleaned up. __GNUC__ >= 4 is
universally true for all platforms and C compilers we support.
- Remove autoconf checks that are universally true on all supported
platforms; replace some legacy GHC-specific macros with GNU C
equivalents.
- Hash.c optimization flags is controlled by hadrian, remove the
redundant in-file optimization pragmas.
</pre>
</li>
<li>
<strong style="font-weight: 600;"><a href="https://gitlab.haskell.org/ghc/ghc/-/commit/196ae82df7a0743f940aeeddd155ede614b4f22e">196ae82d</a></strong>
<div>
<span> by Cheng Shao </span> <i> at 2024-11-09T18:24:30+00:00 </i>
</div>
<pre class="commit-message" style='white-space: pre-wrap; display: block; font-size: 14px; color: #28272d; position: relative; font-family: "GitLab Mono","JetBrains Mono","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: #fbfafd; border-radius: 2px; margin: 0; padding: 8px 12px; border: 1px solid #dcdcde;'>testsuite: fix process010 for centos7 job
(cherry picked from commit f94510df6e93b0378aedf730d0caba7a595d1b94)
</pre>
</li>
</ul>
<h4 style="margin-top: 10px; margin-bottom: 10px;">
30 changed files:
</h4>
<ul>
<li class="file-stats">
<a href="#87db583be5c13c1f7b3c958b10e03d67b6a2ca06">
configure.ac
</a>
</li>
<li class="file-stats">
<a href="#1e2eab751970e05b4edec9b2fe1a0549ae3f411f">
distrib/configure.ac.in
</a>
</li>
<li class="file-stats">
<a href="#3135173166934babd885c20c3446a7bc378bc8a3">
docs/coding-style.html
</a>
</li>
<li class="file-stats">
<a href="#786d2d970e91533a64e0123b52368c3ec897ed39">
libraries/ghc-prim/cbits/atomic.c
</a>
</li>
<li class="file-stats">
<a href="#52511f1c5a06f56214f22a8548c0664ec1be4719">
libraries/ghc-prim/cbits/ctz.c
</a>
</li>
<li class="file-stats">
<a href="#462d660db6cad914e0f710fcb16982031dd052e2">
m4/fp_cmm_cpp_cmd_with_args.m4
</a>
</li>
<li class="file-stats">
<a href="#939b0b951897d966f84bfaa93b3e7c7e2273378c">
<span class="new-file">
+
m4/fp_set_cflags_c11.m4
</span>
</a>
</li>
<li class="file-stats">
<a href="#4722941a20bc1dd3f8d785f89fdac62251a22f58">
<span class="deleted-file">
−
m4/fp_set_cflags_c99.m4
</span>
</a>
</li>
<li class="file-stats">
<a href="#8c676880deecec9d058882262255e28a1ff0e756">
<span class="deleted-file">
−
m4/fp_visibility_hidden.m4
</span>
</a>
</li>
<li class="file-stats">
<a href="#43fb05bb39e94f4dea9a024ba889a3f4a775d0fc">
rts/BeginPrivate.h
</a>
</li>
<li class="file-stats">
<a href="#62ec5569a8af1e443ae952b393d15b9dd1cea199">
rts/Capability.h
</a>
</li>
<li class="file-stats">
<a href="#49024d97a2f84b38a802ceea3d489ea94d8a782d">
rts/EndPrivate.h
</a>
</li>
<li class="file-stats">
<a href="#152b85a9ce66dcf385a199eab2acad9d98fd737b">
rts/Hash.c
</a>
</li>
<li class="file-stats">
<a href="#9ed11d0519762dae04656481b089dbb5b05acf98">
rts/RtsStartup.c
</a>
</li>
<li class="file-stats">
<a href="#16c842a51a135c8ef2c7c7f94336544868348a3c">
rts/RtsSymbols.c
</a>
</li>
<li class="file-stats">
<a href="#66a382bc62fa574535a9b8a2a2d91dd5dee72512">
rts/configure.ac
</a>
</li>
<li class="file-stats">
<a href="#1ce50078fc531487782432592488ae95c6156df4">
rts/include/Cmm.h
</a>
</li>
<li class="file-stats">
<a href="#2c9d1869cf5d3b9fec1ccc583a5ade7b3b3f4d19">
rts/include/Rts.h
</a>
</li>
<li class="file-stats">
<a href="#10df545cb7baf4c8db3c84d3ea8ab6acaf31a216">
rts/include/Stg.h
</a>
</li>
<li class="file-stats">
<a href="#71b34aa09551eb8e1b64680080d75efe1d457ddb">
rts/include/rts/IPE.h
</a>
</li>
<li class="file-stats">
<a href="#c58aa9b31cd4d21a586788d71d595bda314d50dc">
rts/include/rts/Types.h
</a>
</li>
<li class="file-stats">
<a href="#1fe1519156a55c8fb276b5b4229fe6e75f6a120e">
rts/include/rts/storage/HeapAlloc.h
</a>
</li>
<li class="file-stats">
<a href="#642c8d25df9d3a83ef3d953e34527a766bb35d04">
rts/include/stg/DLL.h
</a>
</li>
<li class="file-stats">
<a href="#a9accda65187a56e0d42dd7fb7a717af6b41d918">
rts/sm/BlockAlloc.c
</a>
</li>
<li class="file-stats">
<a href="#84507939a4554de9c515fb6ece9c30b5178af638">
rts/sm/CNF.c
</a>
</li>
<li class="file-stats">
<a href="#acb9cf8e096e07bff4a3bda82fc1ad8c98c28f1e">
rts/sm/Evac.h
</a>
</li>
<li class="file-stats">
<a href="#6477e10756faf038741e63d1ad499a1df809fe10">
rts/sm/GC.c
</a>
</li>
<li class="file-stats">
<a href="#26a3faea0f0e66eab204fe0639219eea4729a9d3">
rts/sm/GCThread.h
</a>
</li>
<li class="file-stats">
<a href="#371d3c3c9fad484c1163aa733d70507ce33084c9">
rts/sm/NonMoving.h
</a>
</li>
<li class="file-stats">
<a href="#0bfe9d4217bccddd6b00d2d6a5e56e7de4c86273">
rts/sm/Storage.c
</a>
</li>
</ul>
<h5 style="margin-top: 10px; margin-bottom: 10px; font-size: .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: #737278;">
—
<br>
<a href="https://gitlab.haskell.org/ghc/ghc/-/compare/eaf67aaad3b454fcad0fc55db64ff6fbc7084e96...196ae82df7a0743f940aeeddd155ede614b4f22e">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">gitlab.haskell.org</a>. <a href="https://gitlab.haskell.org/-/profile/notifications" target="_blank" rel="noopener noreferrer" class="mng-notif-link">Manage all notifications</a> · <a href="https://gitlab.haskell.org/help" target="_blank" rel="noopener noreferrer" class="help-link">Help</a>
</p>
</div>
</body>
</html>