
#8742: Reuse scavenge_small_bitmap -------------------------------------+------------------------------------ Reporter: Tarrasch | Owner: Type: task | Status: new Priority: lowest | Milestone: 7.10.1 Component: Runtime System | Version: 7.6.3 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: Unknown/Multiple Type of failure: None/Unknown | Difficulty: Unknown Test Case: | Blocked By: Blocking: | Related Tickets: -------------------------------------+------------------------------------ Comment (by simonmar): Is the code better or worse with the inline function? I'd be surprised if gcc wasn't smart enough to optimise that. But that's why we test these things rather than assuming it'll work. The GC has various workarounds for quirks and missing optimisations in gcc; I tend to treat the whole of the GC as performance-critical code. If you want to share this code without the performance loss (and the inline function really doesn't work) then maybe try a macro, if that's not too ugly. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/8742#comment:7 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler