Skip to content

Adding INLINABLE pragma causes GHC panic

If you add an INLINABLE pragma to <**> in GHC.Base then stage2 fails to build with an idInfo panic. I don't really know where to begin debugging this but it seems quite bad!

Here is a build where it fails: https://phabricator.haskell.org/harbormaster/build/17389/ Here is a branch with one commit with the change: https://github.com/ghc/ghc/tree/wip/inlinable-bug

Trac metadata
Trac field Value
Version 8.0.1
Type Bug
TypeOfFailure OtherFailure
Priority high
Resolution Unresolved
Component Compiler
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information