[project @ 2005-11-08 12:56:04 by simonmar] gcc's -fstrict-aliasing is biting us when we use the stack to store different types of objects.  For example:
[project @ 2005-11-08 12:56:04 by simonmar]
gcc's -fstrict-aliasing is biting us when we use the stack to store
different types of objects.  For example:

  *((StgDouble*)((W_)Sp-8)) = *((StgDouble*)((W_)Sp+8));
  Sp[1] = (W_)&s1Cx_info;

gcc feels free to reorder these two lines, because they refer to
differently typed objects, even though the assignment to Sp[1] clearly
aliases the read from the same location.

Trying to fix this by accessing locations using union types might be
possible, but I took the sledgehammer approach of
-fno-strict-aliasing.  This is justified to a certain extent because
our generated C code is derived from a very weakly-typed internal
language (C--).

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