[GHC] #8598: IO hack in demand analyzer gets in the way of CPR

GHC ghc-devs at haskell.org
Tue Feb 14 10:25:38 UTC 2017


#8598: IO hack in demand analyzer gets in the way of CPR
-------------------------------------+-------------------------------------
        Reporter:  nomeata           |                Owner:  (none)
            Type:  task              |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  7.6.3
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
 Type of failure:  Runtime           |  Unknown/Multiple
  performance bug                    |            Test Case:  T8598
      Blocked By:                    |             Blocking:
 Related Tickets:  #1600             |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by simonpj):

 For pure ccalls like this one we have no business messing with IO at all.
 I'd love to implement the first bullet of comment:2.

 What you say may also be true of tail-recursive functions that ''do''
 perform IO, but there would be fewer cases where it mattered.

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


More information about the ghc-tickets mailing list