tweak the totally-bogus arbitrary stack-squeezing heuristic to fix #2797 In #2797, a program that ran in constant stack space when compiled needed linear stack space when interpreted.  It turned out to be nothing more than stack-squeezing not happening.  We have a heuristic to avoid stack-squeezing when it would be too expensive (shuffling a large amount of memory to save a few words), but in some cases even expensive stack-squeezing is necessary to avoid linear stack usage. One day we should implement stack chunks, which would make this less expensive.
tweak the totally-bogus arbitrary stack-squeezing heuristic to fix #2797
In #2797, a program that ran in constant stack space when compiled
needed linear stack space when interpreted.  It turned out to be
nothing more than stack-squeezing not happening.  We have a heuristic
to avoid stack-squeezing when it would be too expensive (shuffling a
large amount of memory to save a few words), but in some cases even
expensive stack-squeezing is necessary to avoid linear stack usage.
One day we should implement stack chunks, which would make this less
expensive.

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