
#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 nomeata): Have you tried `{-# NOINLINE foo #-}`? With unsafe stuff, it is often important to keep this local. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/12656#comment:6 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler