[GHC] #5129: "evaluate" optimized away
GHC
ghc-devs at haskell.org
Mon Mar 19 09:47:36 UTC 2018
#5129: "evaluate" optimized away
-------------------------------------+-------------------------------------
Reporter: dons | Owner: (none)
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 7.0.3
Resolution: | Keywords: seq, evaluate
Operating System: Unknown/Multiple | Architecture:
Type of failure: Incorrect result | Unknown/Multiple
at runtime | Test Case:
Blocked By: | Blocking:
Related Tickets: #13930 | Differential Rev(s): Phab:D615
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by osa1):
One way to fix this if we want to keep `seq#` as effect-free is avoiding
inlining `evaluate` with `{-# NOINLINE evaluate #-}`.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/5129#comment:26>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list