[GHC] #5448: GHC stuck in infinite loop compiling with optimizations

GHC ghc-devs at haskell.org
Sun Apr 22 21:25:19 UTC 2018


#5448: GHC stuck in infinite loop compiling with optimizations
-------------------------------------+-------------------------------------
        Reporter:  ronwalf           |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:  ⊥
       Component:  Compiler          |              Version:  7.0.3
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
 Type of failure:  Compile-time      |  Unknown/Multiple
  crash                              |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:  #3872 #5400       |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by simonpj):

 comment:5 make it panic (with a helpful message) rather than looping. So
 that's an improvement.

 Better still would be to avoid looping or running out of fuel.  But I have
 no idea how to do that.

 A modest improvement would be to produce a more civilised halt rather than
 a panic.  But I don't think it's trivial to do so, and it's cosmetic so
 perhaps not that important.

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


More information about the ghc-tickets mailing list