
#12469: Memory fence on writeIORef missing on ARM -------------------------------------+------------------------------------- Reporter: rrnewton | Owner: Type: bug | Status: patch Priority: normal | Milestone: 8.2.1 Component: Compiler | Version: 8.0.1 Resolution: | Keywords: memory model Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Phab:D2495 Wiki Page: | -------------------------------------+------------------------------------- Comment (by simonmar): `MO_WriteBarrier` compiles to no code on x86, but it prevents writes from being reordered by earlier optimisations, which is exactly what we want. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/12469#comment:8 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler