summaryrefslogtreecommitdiff
path: root/compiler/GHC
diff options
context:
space:
mode:
authorCheng Shao <terrorjack@type.dance>2023-02-27 19:11:27 +0000
committerMarge Bot <ben+marge-bot@smart-cactus.org>2023-02-28 05:59:15 -0500
commit9fa545722f9151781344446dd5501db38cb90dd1 (patch)
treebb44bb2d7126236f7617030dab1b23cc935c8c50 /compiler/GHC
parent29a04d6e6e999bf907ba01ea0cb2f3af9f76f558 (diff)
downloadhaskell-9fa545722f9151781344446dd5501db38cb90dd1.tar.gz
ghc-prim: fix hs_cmpxchg64 function prototype
hs_cmpxchg64 must return a StgWord64, otherwise incorrect runtime results of 64-bit MO_Cmpxchg will appear in 32-bit unregisterised builds, which go unnoticed at compile-time due to C implicit casting in .hc files.
Diffstat (limited to 'compiler/GHC')
0 files changed, 0 insertions, 0 deletions