[GHC] #7287: Primops in RULES generate warnings

GHC cvs-ghc at haskell.org
Wed Oct 3 09:25:49 CEST 2012


#7287: Primops in RULES generate warnings
---------------------------------+------------------------------------------
    Reporter:  rl                |       Owner:  simonpj                          
        Type:  bug               |      Status:  new                              
    Priority:  normal            |   Milestone:                                   
   Component:  Compiler          |     Version:  7.7                              
    Keywords:                    |          Os:  Unknown/Multiple                 
Architecture:  Unknown/Multiple  |     Failure:  Incorrect warning at compile-time
  Difficulty:  Unknown           |    Testcase:                                   
   Blockedby:                    |    Blocking:                                   
     Related:                    |  
---------------------------------+------------------------------------------

Comment(by simonpj@…):

 commit 419af69c1bea2cecce7b4bf58162cbfac81526f2
 {{{
 Author: Simon Peyton Jones <simonpj at microsoft.com>
 Date:   Tue Oct 2 17:39:46 2012 +0100

     Give PrimOps a NOINLINE pragma, to suppress silly warnings from dsRule

     See Trac #7287

  compiler/basicTypes/MkId.lhs |    9 +++++++--
  1 files changed, 7 insertions(+), 2 deletions(-)
 }}}

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



More information about the Glasgow-haskell-bugs mailing list