[GHC] #14998: Sort out the strictness mess for exceptions

GHC ghc-devs at haskell.org
Tue Apr 10 11:27:39 UTC 2018


#14998: Sort out the strictness mess for exceptions
-------------------------------------+-------------------------------------
        Reporter:  simonpj           |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:  8.4.3
       Component:  Compiler          |              Version:  8.2.2
      Resolution:                    |             Keywords:  Exceptions
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by sgraf):

 Re: item 4. Isn't
 [https://hackage.haskell.org/package/ghc-8.4.1/docs/CoreUtils.html#v:exprOkForSpeculation
 exprOkForSpeculation or exprOkForSideEffects] exactly what we want, rather
 than just `isPrimOpId`? I don't think the limited convergence checking
 that nested CPR would bring (it should not allow arbitrary costly
 converging expression anyway) has any benefit over those functions. I
 could give those a try, if you want.

-- 
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/14998#comment:21>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list