[GHC] #13032: Redundant forcing of Given dictionaries

GHC ghc-devs at haskell.org
Sat Dec 24 03:20:04 UTC 2016


#13032: Redundant forcing of Given dictionaries
-------------------------------------+-------------------------------------
        Reporter:  simonpj           |                Owner:
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  8.0.1
      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 goldfire):

 How can we know, though, that the equality isn't bottom? The "simple
 optimizer" used to indeed throw such `case`s away, but then #11230 was
 reported, and I wrote 1722fa106e10e63160bb2322e2ccb830fd5b9ab3. So we
 should proceed carefully here.

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


More information about the ghc-tickets mailing list