[GHC] #14521: Infinite loop at runtime when either : a given function is not marked INLINE, or functions are stored in strict field

GHC ghc-devs at haskell.org
Tue Nov 28 10:15:34 UTC 2017


#14521: Infinite loop at runtime when either : a given function is not marked
INLINE, or functions are stored in strict field
-------------------------------------+-------------------------------------
        Reporter:  OlivierSohn       |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  high              |            Milestone:  8.2.3
       Component:  Compiler          |              Version:  8.2.2
      Resolution:                    |             Keywords:
Operating System:  MacOS X           |         Architecture:
 Type of failure:  Incorrect result  |  Unknown/Multiple
  at runtime                         |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by OlivierSohn):

 @mpickering Thanks for the feedback, so now I removed all dependencies
 from the cabal file.

 I also found out that if the Animation module is entirely exported :

 {{{
 module Animation where

 }}}

 It fixes the problem!

 I added this observation in the comments.

 Here is the branch : https://github.com/OlivierSohn/hamazed/tree/repro-
 ghc-14521-A

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


More information about the ghc-tickets mailing list