[GHC] #12618: Add saturated constructor applications to Core

GHC ghc-devs at haskell.org
Sun Oct 2 16:10:37 UTC 2016


#12618: Add saturated constructor applications to Core
-------------------------------------+-------------------------------------
        Reporter:  simonpj           |                Owner:  nomeata
            Type:  feature request   |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  8.0.1
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------
Changes (by nomeata):

 * owner:   => nomeata


Comment:

 JFTR, I’m working on implementing this. Not sure if one week is enough,
 there seems to be an endless supplies of code paths that have a catch-all
 pattern match on `CoreExpr` and thus are not found by the compiler.

 My work is in `wip/T12618`. Stage 1 compiles, and seems to work mostly,
 but if I build ghc-stage2 with it, `ghc-stage2` crashes with an `internal
 error: evacuate(static): strange closure type 0`. If someone enjoys
 debugging these kind of problems, let me know...

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


More information about the ghc-tickets mailing list