[GHC] #2354: NOINLINE pragma ignored

GHC cvs-ghc at haskell.org
Sun Jan 27 20:04:39 CET 2013


#2354: NOINLINE pragma ignored
---------------------------------+------------------------------------------
    Reporter:  guest             |       Owner:                  
        Type:  bug               |      Status:  new             
    Priority:  lowest            |   Milestone:  7.6.2           
   Component:  Compiler          |     Version:  6.9             
    Keywords:                    |          Os:  Unknown/Multiple
Architecture:  Unknown/Multiple  |     Failure:  None/Unknown    
  Difficulty:  Unknown           |    Testcase:                  
   Blockedby:                    |    Blocking:                  
     Related:                    |  
---------------------------------+------------------------------------------
Changes (by morabbin):

  * failure:  => None/Unknown


Comment:

 Current behavior disallows the pragmas:
 {{{
 Orac:~/work/tickets $ ghc -c T2354.hs

 T2354.hs:5:3:
     The INLINE pragma for default method `toInt' lacks an accompanying
 binding

 T2354.hs:7:3:
     The INLINE pragma for default method `fromInt' lacks an accompanying
 binding
 }}}
 The errors refer to the `NOINLINE` pragma lines, and seems to be in line
 with the last comment.

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



More information about the ghc-tickets mailing list