[GHC] #15578: Honour INLINE pragmas on 0-arity bindings

GHC ghc-devs at haskell.org
Tue Jan 8 21:10:09 UTC 2019


#15578: Honour INLINE pragmas on 0-arity bindings
-------------------------------------+-------------------------------------
        Reporter:  simonpj           |                Owner:  (none)
            Type:  bug               |               Status:  merge
        Priority:  normal            |            Milestone:  8.6.2
       Component:  Compiler          |              Version:  8.4.3
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:  #15519            |  Differential Rev(s):  Phab:D5137
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by simonpj):

 I'm not sure what problem we are trying to solve here.  The bug, as
 reported in the Description, is fixed.  Yes, ''any'' INLINE pragma results
 in duplication, of code and/or data. Perhaps some of that duplication
 could be recovered by CSE; but the first thing is to remove INLINE pragmas
 that do nothing useful.

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


More information about the ghc-tickets mailing list