
#9124: Infinite loop when printing a (finite) list with just one element ---------------------------------+------------------------------------ Reporter: OoS | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 7.8.2 Resolution: | Keywords: Operating System: Windows | Architecture: Unknown/Multiple Type of failure: None/Unknown | Difficulty: Unknown Test Case: Yes | Blocked By: Blocking: | Related Tickets: ---------------------------------+------------------------------------ Comment (by OoS): Replying to [comment:2 nomeata]:
Could you try to minimize the example? I.e. remove code or replace it by constants and see if the problem still occurs, and then repeat until you cannot simplify it further. I've simplified the test case as much as possible. If one removes line 61 (right = vec3Add origin $ rightScaled) the code works.
-- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9124#comment:4 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler