[GHC] #10120: Unnecessary code duplication from case analysis

GHC ghc-devs at haskell.org
Fri Feb 27 08:33:00 UTC 2015


#10120: Unnecessary code duplication from case analysis
-------------------------------------+-------------------------------------
        Reporter:  bgamari           |                   Owner:
            Type:  bug               |                  Status:  new
        Priority:  normal            |               Milestone:
       Component:  Compiler          |                 Version:  7.10.1-rc2
      Resolution:                    |                Keywords:
Operating System:  Unknown/Multiple  |            Architecture:
 Type of failure:  Runtime           |  Unknown/Multiple
  performance bug                    |               Test Case:
      Blocked By:                    |                Blocking:
 Related Tickets:                    |  Differential Revisions:
-------------------------------------+-------------------------------------

Comment (by nomeata):

 Oh, and did you check whether in 7.10, GHC would duplicate code of
 arbitrary size into the case alternatives? That would of course be quite
 wrong.

 Can you attach a nice small example to play around with?

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


More information about the ghc-tickets mailing list