[GHC] #16382: Lifting a function from where clause to top level causes compilation time to triple

GHC ghc-devs at haskell.org
Sun Mar 3 22:17:29 UTC 2019


#16382: Lifting a function from where clause to top level causes compilation time
to triple
-------------------------------------+-------------------------------------
        Reporter:  danidiaz          |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  8.4.2
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
 Type of failure:  Compile-time      |  Unknown/Multiple
  performance bug                    |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------
Changes (by danidiaz):

 * Attachment "Main.hs" added.

 A self-contained example with no dependencies, that includes the relevant
 portions of the library. The code for reproducing the bug is at the end of
 the file.

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


More information about the ghc-tickets mailing list