[GHC] #10694: CPR analysis too optimistic when returning a component of a product

GHC ghc-devs at haskell.org
Thu Jul 30 10:02:07 UTC 2015


#10694: CPR analysis too optimistic when returning a component of a product
-------------------------------------+-------------------------------------
        Reporter:  rwbarton          |                   Owner:
            Type:  bug               |                  Status:  new
        Priority:  normal            |               Milestone:
       Component:  Compiler          |                 Version:  7.11
      Resolution:                    |                Keywords:
Operating System:  Unknown/Multiple  |            Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |               Test Case:
      Blocked By:                    |                Blocking:  10678
 Related Tickets:                    |  Differential Revisions:
-------------------------------------+-------------------------------------

Comment (by Simon Peyton Jones <simonpj@…>):

 In [changeset:"499b926be70b06e2e97b234cdb39cac94dd249e0/ghc" 499b926/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="499b926be70b06e2e97b234cdb39cac94dd249e0"
 Fix Trac #10694: CPR analysis

 In this commit
    commit 0696fc6d4de28cb589f6c751b8491911a5baf774
    Author: Simon Peyton Jones <simonpj at microsoft.com>
    Date:   Fri Jun 26 11:40:01 2015 +0100

 I made an error in the is_var_scrut tests in extendEnvForProdAlt.

 This patch fixes it, thereby fixing Trac #10694.
 }}}

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


More information about the ghc-tickets mailing list