Skip to content

GitLab

  • Menu
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 4,872
    • Issues 4,872
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 455
    • Merge requests 455
  • 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 Compiler
  • GHCGHC
  • Issues
  • #21343
Closed
Open
Created Apr 05, 2022 by Andreas Klebinger@AndreasKDeveloper

Core lint warning for enum instances in `Word` module.

When compiling GHC with the devel2 flavour I often see warnings like these below.

This might be harmless. But I assume this means we have added ineffective INLINE pragmas to these instances which one might be able to fix.

*** Core Lint warnings : in result of Specialise ***
libraries/base/GHC/Word.hs:567:5: warning:
    INLINE binder is (non-rule) loop breaker: $cenumFromThen_a1F8

libraries/base/GHC/Word.hs:330:5: warning:
    INLINE binder is (non-rule) loop breaker: $cenumFromThen_a1OO

libraries/base/GHC/Word.hs:140:5: warning:
    INLINE binder is (non-rule) loop breaker: $cenumFromThen_a1Zn

*** Core Lint warnings : in result of Float out(FOS {Lam = Just 0,
                                                     Consts = True,
                                                     OverSatApps = False}) ***
libraries/base/GHC/Word.hs:567:5: warning:
    INLINE binder is (non-rule) loop breaker: $cenumFromThen_a1F8

libraries/base/GHC/Word.hs:330:5: warning:
    INLINE binder is (non-rule) loop breaker: $cenumFromThen_a1OO

libraries/base/GHC/Word.hs:140:5: warning:
    INLINE binder is (non-rule) loop breaker: $cenumFromThen_a1Zn

*** Core Lint warnings : in result of Simplifier ***
libraries/base/GHC/Word.hs:140:5: warning:
    INLINE binder is (non-rule) loop breaker: $cenumFromThen_a1Zn

libraries/base/GHC/Word.hs:330:5: warning:
    INLINE binder is (non-rule) loop breaker: $cenumFromThen_a1OO

libraries/base/GHC/Word.hs:567:5: warning:
    INLINE binder is (non-rule) loop breaker: $cenumFromThen_a1F8
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking