[project @ 2005-11-24 14:21:33 by simonmar] unlockClosure() requires a write barrier for the compiler - write barriers aren't required for the CPU, but gcc re-orders non-aliasing writes unless we use an explicit barrier.
[project @ 2005-11-24 14:21:33 by simonmar]
unlockClosure() requires a write barrier for the compiler - write
barriers aren't required for the CPU, but gcc re-orders non-aliasing
writes unless we use an explicit barrier.

This only just showed up when we started compiling the RTS with -O2.

ghc-android/ghc,olsner/ghc,nushio3/ghc,oldmanmike/ghc,mcschroeder/ghc,sdiehl/ghc,mettekou/ghc,christiaanb/ghc,frantisekfarka/ghc-dsi,acowley/ghc,mettekou/ghc,vikraman/ghc,da-x/ghc,mcschroeder/ghc,green-haskell/ghc,AlexanderPankiv/ghc,ilyasergey/GHC-XAppFix,ryantm/ghc,anton-dessiatov/ghc,vTurbine/ghc,green-haskell/ghc,holzensp/ghc,nushio3/ghc,frantisekfarka/ghc-dsi,tjakway/ghcjvm,urbanslug/ghc,tjakway/ghcjvm,lukexi/ghc,tibbe/ghc,mettekou/ghc,snoyberg/ghc,elieux/ghc,oldmanmike/ghc,oldmanmike/ghc,oldmanmike/ghc,siddhanathan/ghc,christiaanb/ghc,frantisekfarka/ghc-dsi,mettekou/ghc,gcampax/ghc,mcschroeder/ghc,nathyong/microghc-ghc,AlexanderPankiv/ghc,mfine/ghc,ryantm/ghc,gridaphobe/ghc,gcampax/ghc,elieux/ghc,nushio3/ghc,mcmaniac/ghc,wxwxwwxxx/ghc,GaloisInc/halvm-ghc,ezyang/ghc,anton-dessiatov/ghc,anton-dessiatov/ghc,hferreiro/replay,anton-dessiatov/ghc,sgillespie/ghc,jstolarek/ghc,sgillespie/ghc,vikraman/ghc,mcmaniac/ghc,gridaphobe/ghc,mettekou/ghc,vikraman/ghc,shlevy/ghc,mcschroeder/ghc,christiaanb/ghc,tjakway/ghcjvm,nathyong/microghc-ghc,lukexi/ghc,mcmaniac/ghc,ml9951/ghc,nushio3/ghc,olsner/ghc,siddhanathan/ghc,gcampax/ghc,GaloisInc/halvm-ghc,mfine/ghc,wxwxwwxxx/ghc,ml9951/ghc,wxwxwwxxx/ghc,vTurbine/ghc,urbanslug/ghc,da-x/ghc,tibbe/ghc,nushio3/ghc,forked-upstream-packages-for-ghcjs/ghc,mfine/ghc,nomeata/ghc,acowley/ghc,lukexi/ghc,shlevy/ghc,TomMD/ghc,nomeata/ghc,fmthoma/ghc,nkaretnikov/ghc,TomMD/ghc,forked-upstream-packages-for-ghcjs/ghc,mcschroeder/ghc,elieux/ghc,acowley/ghc,ml9951/ghc,wxwxwwxxx/ghc,oldmanmike/ghc,lukexi/ghc,nkaretnikov/ghc,wxwxwwxxx/ghc,nomeata/ghc,ghc-android/ghc,nomeata/ghc,shlevy/ghc,mfine/ghc,da-x/ghc,sdiehl/ghc,elieux/ghc,gcampax/ghc,ilyasergey/GHC-XAppFix,hferreiro/replay,hferreiro/replay,mcschroeder/ghc,forked-upstream-packages-for-ghcjs/ghc,spacekitteh/smcghc,olsner/ghc,fmthoma/ghc,vTurbine/ghc,shlevy/ghc,ezyang/ghc,ezyang/ghc,hferreiro/replay,TomMD/ghc,GaloisInc/halvm-ghc,urbanslug/ghc,holzensp/ghc,ekmett/ghc,lukexi/ghc-7.8-arm64,bitemyapp/ghc,vikraman/ghc,fmthoma/ghc,siddhanathan/ghc,vikraman/ghc,frantisekfarka/ghc-dsi,tjakway/ghcjvm,gcampax/ghc,AlexanderPankiv/ghc,oldmanmike/ghc,elieux/ghc,vikraman/ghc,GaloisInc/halvm-ghc,TomMD/ghc,nathyong/microghc-ghc,da-x/ghc,jstolarek/ghc,elieux/ghc,acowley/ghc,nkaretnikov/ghc,ml9951/ghc,AlexanderPankiv/ghc,tjakway/ghcjvm,lukexi/ghc-7.8-arm64,ghc-android/ghc,olsner/ghc,mettekou/ghc,christiaanb/ghc,sgillespie/ghc,shlevy/ghc,christiaanb/ghc,jstolarek/ghc,da-x/ghc,sdiehl/ghc,ghc-android/ghc,anton-dessiatov/ghc,gcampax/ghc,spacekitteh/smcghc,da-x/ghc,ghc-android/ghc,mcmaniac/ghc,ghc-android/ghc,spacekitteh/smcghc,ryantm/ghc,tibbe/ghc,GaloisInc/halvm-ghc,sdiehl/ghc,sdiehl/ghc,lukexi/ghc-7.8-arm64,green-haskell/ghc,forked-upstream-packages-for-ghcjs/ghc,snoyberg/ghc,ezyang/ghc,tjakway/ghcjvm,nushio3/ghc,sgillespie/ghc,frantisekfarka/ghc-dsi,elieux/ghc,GaloisInc/halvm-ghc,GaloisInc/halvm-ghc,ghc-android/ghc,anton-dessiatov/ghc,da-x/ghc,nathyong/microghc-ghc,AlexanderPankiv/ghc,TomMD/ghc,tibbe/ghc,vikraman/ghc,fmthoma/ghc,ekmett/ghc,nkaretnikov/ghc,olsner/ghc,snoyberg/ghc,fmthoma/ghc,vTurbine/ghc,vTurbine/ghc,holzensp/ghc,sgillespie/ghc,gridaphobe/ghc,nushio3/ghc,ml9951/ghc,siddhanathan/ghc,gridaphobe/ghc,sgillespie/ghc,hferreiro/replay,lukexi/ghc-7.8-arm64,anton-dessiatov/ghc,sdiehl/ghc,vTurbine/ghc,mcschroeder/ghc,urbanslug/ghc,olsner/ghc,bitemyapp/ghc,jstolarek/ghc,holzensp/ghc,urbanslug/ghc,bitemyapp/ghc,ml9951/ghc,ezyang/ghc,ekmett/ghc,nathyong/microghc-ghc,sdiehl/ghc,spacekitteh/smcghc,nkaretnikov/ghc,snoyberg/ghc,TomMD/ghc,fmthoma/ghc,hferreiro/replay,ezyang/ghc,ilyasergey/GHC-XAppFix,mettekou/ghc,nkaretnikov/ghc,christiaanb/ghc,mfine/ghc,shlevy/ghc,snoyberg/ghc,siddhanathan/ghc,urbanslug/ghc,gridaphobe/ghc,snoyberg/ghc,vTurbine/ghc,ml9951/ghc,bitemyapp/ghc,forked-upstream-packages-for-ghcjs/ghc,ryantm/ghc,gridaphobe/ghc,gridaphobe/ghc,green-haskell/ghc,mfine/ghc,urbanslug/ghc,spacekitteh/smcghc,wxwxwwxxx/ghc,tibbe/ghc,mfine/ghc,AlexanderPankiv/ghc,acowley/ghc,ilyasergey/GHC-XAppFix,TomMD/ghc,acowley/ghc,bitemyapp/ghc,nathyong/microghc-ghc,ml9951/ghc,shlevy/ghc,snoyberg/ghc,fmthoma/ghc,ryantm/ghc,ekmett/ghc,nkaretnikov/ghc,christiaanb/ghc,AlexanderPankiv/ghc,olsner/ghc,gcampax/ghc,holzensp/ghc,nathyong/microghc-ghc,ezyang/ghc,nomeata/ghc,lukexi/ghc-7.8-arm64,siddhanathan/ghc,jstolarek/ghc,ekmett/ghc,lukexi/ghc,tjakway/ghcjvm,wxwxwwxxx/ghc,hferreiro/replay,sgillespie/ghc,oldmanmike/ghc,forked-upstream-packages-for-ghcjs/ghc,acowley/ghc,forked-upstream-packages-for-ghcjs/ghc,siddhanathan/ghc,green-haskell/ghc,mcmaniac/ghc