Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • GHC GHC
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 5,359
    • Issues 5,359
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 571
    • Merge requests 571
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Glasgow Haskell CompilerGlasgow Haskell Compiler
  • GHCGHC
  • Issues
  • #12416
Closed
Open
Issue created Jul 21, 2016 by Ben Gamari@bgamari🐢Maintainer

Some GCC versions warn about failed inlines

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]                                                                   
Trac metadata
Trac field Value
Version 8.0.1
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Runtime System
Test case
Differential revisions
BlockedBy
Related
Blocking
CC simonmar
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking