[GHC] #15174: got internal error when running a simple but computationally intensive loop

GHC ghc-devs at haskell.org
Tue May 22 07:01:44 UTC 2018


#15174: got internal error when running a simple but computationally intensive loop
---------------------------------+------------------------------
        Reporter:  rgrover       |                Owner:  (none)
            Type:  bug           |               Status:  closed
        Priority:  normal        |            Milestone:  8.6.1
       Component:  GHCi          |              Version:  8.2.2
      Resolution:  invalid       |             Keywords:
Operating System:  Linux         |         Architecture:  ia64
 Type of failure:  None/Unknown  |            Test Case:
      Blocked By:                |             Blocking:
 Related Tickets:                |  Differential Rev(s):
       Wiki Page:                |
---------------------------------+------------------------------
Changes (by sighingnow):

 * status:  new => closed
 * resolution:   => invalid


Comment:

 This isn't a bug. In ghci the program is compiled without fully
 optimization then list fusion rules doesn't fire.

 To fix this problem, you could pass extra optimization arguments to ghci:

 {{{
 ghci -fobject-code -O2
 }}}

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


More information about the ghc-tickets mailing list