[GHC] #13055: Adding INLINABLE pragma causes GHC panic

GHC ghc-devs at haskell.org
Tue Jan 3 05:52:18 UTC 2017


#13055: Adding INLINABLE pragma causes GHC panic
-------------------------------------+-------------------------------------
        Reporter:  mpickering        |                Owner:
            Type:  bug               |               Status:  new
        Priority:  high              |            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 Ben Gamari <ben@…>):

 In [changeset:"683ed475964bbd90030deb8f738370ae90b48a22/ghc" 683ed47/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="683ed475964bbd90030deb8f738370ae90b48a22"
 Don't use $ in the definition of (<**>) in GHC.Base

 ($) is special as Richard explains in the note at the top of the page.

 However, when adding the note he didn't remove this usage. Normally it
 didn't cause any problems as the optimiser optimised it away. However if
 one had the propensity to stick one's fingers into the depths of the
 inliner, it caused horrible idInfo panics.

 Reviewers: rwbarton, hvr, austin, bgamari

 Reviewed By: bgamari

 Subscribers: thomie

 Differential Revision: https://phabricator.haskell.org/D2913

 GHC Trac Issues: #13055
 }}}

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


More information about the ghc-tickets mailing list