[GHC] #11106: Turning on optimizer changes behavior in 7.10.3

GHC ghc-devs at haskell.org
Wed Nov 18 12:04:58 UTC 2015


#11106: Turning on optimizer changes behavior in 7.10.3
-------------------------------------+-------------------------------------
        Reporter:  dsf               |                Owner:
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  7.10.2
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by nomeata):

 Changing
 {{{
 -class Ord k => OrderKey k where
 +class OrderKey k where
 }}}
 in `Order.hs` and adding `Ord k` instances to methods and functions as
 required also makes the problem go away.

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


More information about the ghc-tickets mailing list