[GHC] #10657: Regression T2497 WAY=optasm: Simplifier ticks exhausted

GHC ghc-devs at haskell.org
Tue Jul 21 13:05:31 UTC 2015


#10657: Regression T2497 WAY=optasm: Simplifier ticks exhausted
-------------------------------------+-------------------------------------
        Reporter:  thomie            |                   Owner:
            Type:  bug               |                  Status:  closed
        Priority:  highest           |               Milestone:  7.10.2
       Component:  Compiler          |                 Version:  7.10.2-rc2
      Resolution:  invalid           |                Keywords:
Operating System:  Unknown/Multiple  |            Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |               Test Case:
                                     |  typecheck/should_compile/T2497
      Blocked By:                    |                Blocking:
 Related Tickets:                    |  Differential Revisions:
-------------------------------------+-------------------------------------
Changes (by simonpj):

 * status:  new => closed
 * resolution:   => invalid


Comment:

 This is hardly suprising. Inlining `(==)` we get
 {{{
 {-# RULES
     "rule 1" forall x y. x == y = y == x
   #-}
 }}}
 So rewriting using the rule yields a new opportunity for using the rule.

 What did you expect?  Re-open if you disagree.

 Simon

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


More information about the ghc-tickets mailing list