[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
Sat Nov 25 20:12:05 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:  normal            |            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):

 Replying to [comment:3 simonpj]:
 > Yes, it could be a compiler bug, but a more self-contained repro case
 would be far far easier to deal with.  Thank you!
 >
 > Does it happen with 8.2?

 I verified that it happens also with 8.2.2, and made a minimal repro case
 in this branch : https://github.com/OlivierSohn/hamazed/tree/repro-
 ghc-14521-A

 It can be built and run with this command:
 {{{
 stack build --pedantic --resolver=nightly --install-ghc&& stack exec
 hamazed-exe --resolver=nightly -v
 }}}

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


More information about the ghc-tickets mailing list