
#12416: Some GCC versions warn about failed inlines -------------------------------------+------------------------------------- Reporter: bgamari | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Runtime | Version: 8.0.1 System | Keywords: | Operating System: Unknown/Multiple Architecture: | Type of failure: None/Unknown Unknown/Multiple | Test Case: | Blocked By: Blocking: | Related Tickets: Differential Rev(s): | Wiki Page: -------------------------------------+------------------------------------- gcc 4.8.4 on Ubuntu 14.04 warns about failed inlinings. I'm not really sure what to do about this at the moment, so I'm going to leave this here. {{{ In file included from rts/Schedule.h:15:0: error: 0, from rts/Capability.c:23: In function ‘initCapability’: rts/Trace.h:742:20: error: warning: inlining failed in call to ‘traceSparkCounters.part.10’: call is unlikely and code size would grow [-Winline] INLINE_HEADER void traceSparkCounters(Capability *cap STG_UNUSED) ^ cc1: warning: called from here [-Winline] In function ‘yieldCapability’: rts/Trace.h:742:20: error: warning: inlining failed in call to ‘traceSparkCounters.part.10’: call is unlikely and code size would grow [-Winline] INLINE_HEADER void traceSparkCounters(Capability *cap STG_UNUSED) ^ cc1: warning: called from here [-Winline] In function ‘shutdownCapabilities’: rts/Trace.h:742:20: error: warning: inlining failed in call to ‘traceSparkCounters.part.10’: call is unlikely and code size would grow [-Winline] INLINE_HEADER void traceSparkCounters(Capability *cap STG_UNUSED) ^ cc1: warning: called from here [-Winline] }}} -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/12416 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler