[GHC] #2152: bogus inlining of foreign import "foo.h &foo"

GHC trac at galois.com
Tue Apr 29 12:15:50 EDT 2008


#2152: bogus inlining of foreign import "foo.h &foo"
----------------------+-----------------------------------------------------
 Reporter:  simonmar  |          Owner:         
     Type:  bug       |         Status:  new    
 Priority:  low       |      Milestone:  6.8.3  
Component:  Compiler  |        Version:  6.8.2  
 Severity:  normal    |     Resolution:         
 Keywords:            |     Difficulty:  Unknown
 Testcase:            |   Architecture:  Unknown
       Os:  Unknown   |  
----------------------+-----------------------------------------------------
Comment (by simonpj):

 Punting for 6.8.3 is probably ok, but it's on my list because NOINLINE
 should make a definition opaque, but doesn't.  That's because
 `exprIsConApp_maybe` doesn't take account of it. In principle this might
 affect other program too.  I'll get to it.

 Simon

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


More information about the Glasgow-haskell-bugs mailing list