[GHC] #13479: Core Lint issues during slowtest

GHC ghc-devs at haskell.org
Tue Mar 28 23:35:59 UTC 2017


#13479: Core Lint issues during slowtest
-------------------------------------+-------------------------------------
        Reporter:  bgamari           |                Owner:  nomeata
            Type:  bug               |               Status:  patch
        Priority:  high              |            Milestone:  8.2.1
       Component:  Compiler          |              Version:  8.1
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
 Type of failure:  Compile-time      |  Unknown/Multiple
  crash or panic                     |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:  #10181            |  Differential Rev(s):  Phab:D3390
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by Joachim Breitner <mail@…>):

 In [changeset:"e07211f752b9b98e2bd6957f126bd537d178041a/ghc" e07211f/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="e07211f752b9b98e2bd6957f126bd537d178041a"
 Zap Call Arity info in the simplifier

 As #13479 shows, there are corner cases where the simplifier decides to
 not eta-expand a function as much as its call arity would suggest, but
 instead transforms the code that the call arity annotation becomes a
 lie.

 As the call arity information is only meant to be used by the
 immediatelly following simplifier run, it makes sense to simply zap the
 information there.

 Differential Revision: https://phabricator.haskell.org/D3390
 }}}

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


More information about the ghc-tickets mailing list