[GHC] #15388: GHC reports missing INLINABLE pragmas in vector and ghc-prim

GHC ghc-devs at haskell.org
Tue Jul 31 19:26:29 UTC 2018


#15388: GHC reports missing INLINABLE pragmas in vector and ghc-prim
-------------------------------------+-------------------------------------
        Reporter:  ChaiTRex          |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:  8.6.1
       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:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by flip101):

 I'm getting similar/related warnings:


 {{{
 src/Main.hs: warning:
     Could not specialise imported function ‘ghc-
 prim-0.5.2.0:GHC.Classes.$w$c==’
       when specialising ‘ghc-prim-0.5.2.0:GHC.Classes.$fEq(,)_$c==’
     Probable fix: add INLINABLE pragma on ‘ghc-
 prim-0.5.2.0:GHC.Classes.$w$c==’

 src/Main.hs: warning:
     Could not specialise imported function ‘fromIntegral’
     Probable fix: add INLINABLE pragma on ‘fromIntegral’
 }}}

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


More information about the ghc-tickets mailing list