[GHC] #10665: INLINE breaks rewrite rules when '-g' is used

GHC ghc-devs at haskell.org
Thu Aug 6 12:37:28 UTC 2015


#10665: INLINE breaks rewrite rules when '-g' is used
-------------------------------------+-------------------------------------
        Reporter:  slyfox            |                   Owner:
            Type:  bug               |                  Status:  merge
        Priority:  normal            |               Milestone:  7.10.3
       Component:  Compiler          |                 Version:  7.10.2-rc2
  (CodeGen)                          |
      Resolution:                    |                Keywords:
Operating System:  Unknown/Multiple  |            Architecture:
 Type of failure:  Compile-time      |  Unknown/Multiple
  crash                              |               Test Case:
      Blocked By:                    |                Blocking:
 Related Tickets:                    |  Differential Revisions:
-------------------------------------+-------------------------------------
Changes (by simonpj):

 * status:  new => merge
 * milestone:   => 7.10.3


Comment:

 I believe this is fixed by
 {{{
 commit bc4b64ca5b99bff6b3d5051b57cb2bc52bd4c841
 Author: Simon Peyton Jones <simonpj at microsoft.com>
 Date:   Mon Jul 27 13:56:31 2015 +0100

     Do not inline or apply rules on LHS of rules

     This is the right thing to do anyway, and fixes Trac #10528
 }}}
 Trac #10745 is probably another example.

 Perhaps merge to 7.10.3.

 Meanwhile, can you confirm fixed in HEAD?

 Simon

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


More information about the ghc-tickets mailing list