[GHC] #9445: GHC Panic: Tick Exhausted with high factor

GHC ghc-devs at haskell.org
Mon Oct 20 10:06:00 UTC 2014


#9445: GHC Panic: Tick Exhausted with high factor
-------------------------------------+-------------------------------------
              Reporter:  adinapoli   |            Owner:
                  Type:  bug         |           Status:  new
              Priority:  normal      |        Milestone:
             Component:  Compiler    |          Version:  7.8.3
            Resolution:              |         Keywords:  panic
      Operating System:  MacOS X     |     Architecture:  Unknown/Multiple
       Type of failure:              |       Difficulty:  Unknown
  None/Unknown                       |       Blocked By:
             Test Case:              |  Related Tickets:  5539
              Blocking:              |
Differential Revisions:              |
-------------------------------------+-------------------------------------

Comment (by Masei):

 The error seems to be caused by the Num instance.

 abs needs a tick-factor of 109 and signum a factor of 1630.

 Disabling rewrite-rules (-fno-enable-rewrite-rules) let it compile again.
 I peek at the ghc-source but don't found any related rules.

 Hope it helps anyway.

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


More information about the ghc-tickets mailing list