[GHC] #10584: Installation of SFML failed

GHC ghc-devs at haskell.org
Sun Aug 2 15:13:21 UTC 2015


#10584: Installation of SFML failed
-------------------------------------+-------------------------------------
        Reporter:  SoleSoul          |                   Owner:
            Type:  bug               |                  Status:  new
        Priority:  normal            |               Milestone:
       Component:  Compiler          |                 Version:  7.8.4
      Resolution:                    |                Keywords:
Operating System:  Unknown/Multiple  |            Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |               Test Case:
      Blocked By:                    |                Blocking:
 Related Tickets:                    |  Differential Revisions:
-------------------------------------+-------------------------------------
Changes (by thomie):

 * version:  7.10.1 => 7.8.4


Comment:

 Here is a test to reproduce the problem:
 {{{#!haskell
 module T10584 where

 data Transform = Transform
     { m00 :: !Float, m10 :: !Float, m20 :: !Float
     , m01 :: !Float, m11 :: !Float, m21 :: !Float
     , m02 :: !Float, m12 :: !Float, m22 :: !Float
     }

 abs_ (Transform a00 a01 a02 a03 a04 a05 a06 a07 a08) =
      (Transform (abs a00) (abs a01) (abs a02) (abs a03)
                 (abs a04) (abs a05) (abs a06) (abs a07) (abs a08))
 }}}

 Fails with 7.8.4 and higher, but not with 7.6.3.
 {{{
 $ ghc-7.8.4 T10584.hs -fsimpl-tick-factor=200 -O -fforce-recomp
 [1 of 1] Compiling T10584           ( T10584.hs, T10584.o )
 ghc: panic! (the 'impossible' happened)
   (GHC version 7.8.4 for x86_64-unknown-linux):
         Simplifier ticks exhausted
     When trying UnfoldingDone $j_s1vT{v} [lid]
     To increase the limit, use -fsimpl-tick-factor=N (default 100)
     If you need to do this, let GHC HQ know, and what factor you needed
     To see detailed counts use -ddump-simpl-stats
     Total ticks: 73282
 }}}

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


More information about the ghc-tickets mailing list