
#12656: ghc floats out constant despite -fno-cse -------------------------------------+------------------------------------- Reporter: nh2 | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 8.0.1 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: Type of failure: Incorrect result | Unknown/Multiple at runtime | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by simonpj):
In light of this, I think we should warn people that unsafeThaw is way unsafer than the docs imply...
Or at least that if you are going to use `unsafeThaw` then `-fno-state- hack` would be a good companion. Simon -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/12656#comment:14 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler