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,869
    • Issues 4,869
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 456
    • Merge requests 456
  • 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
  • #5742
Closed
Open
Created Jan 03, 2012 by Huenniger@trac-Huenniger

compiler option -XDoRec crash

I tried to compile a complex 200 KByte grammer using the library frisby. I got a linking error. The file is essentially one big "do rec" block and thus needs -XDoRec compiler option. I installed the latest GHC Version and use the minus -C flag to analyze the problem, which resulted in a ghc panic.

dirk@dirk-desktop:~/temp/wb2pdf/trunk/exp$ ghc  -C  -XDoRec Grammer.hs
addFlag by -C on the commandline:
    Warning: The -fvia-C flag does nothing; it will be removed in a future GHC release
ghc: panic! (the 'impossible' happened)
  (GHC version 7.2.2 for i386-unknown-linux):
	pipeLoop: at phase As but I wanted to stop at phase HCc

Please report this as a GHC bug:  http://www.haskell.org/ghc/reportabug
Edited Mar 09, 2019 by Ian Lynagh <igloo@earth.li>
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking