[GHC] #3736: GHC specialising instead of inlining

GHC trac at galois.com
Wed Dec 16 07:17:58 EST 2009


#3736: GHC specialising instead of inlining
--------------------------------------+-------------------------------------
  Reporter:  guest                    |          Owner:        
      Type:  bug                      |         Status:  new   
  Priority:  normal                   |      Milestone:        
 Component:  Compiler                 |        Version:  6.10.4
Resolution:                           |       Keywords:        
Difficulty:                           |             Os:  Linux 
  Testcase:                           |   Architecture:  x86   
   Failure:  Runtime performance bug  |  
--------------------------------------+-------------------------------------
Comment (by simonpj):

 Can you make a standalone case?  At the moment I just get stuck.
  * The `storablevector` package you point to depends on `utility-ht` and
 `transformers`.
  * In turn `transformers` depends on `special-functors`
  * `special-functors` requires `base` < 2, and I don't have that, since
 base is now up to version 4.

 I'm sure that most of this clutter is irrelevant to the problem you have.
 The easy way to remove unnecessary dependencies is to make stub modules
 with definitions like
 {{{
  thingy :: Int -> Int
  thingy = error "urk"
 }}}
 and than you don't need a separate package to define `thingy`.

 Simon

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


More information about the Glasgow-haskell-bugs mailing list