Passing -C flag causes the 'impossible' to happen
Passing -C flag to GHC causes compiler panic:
addFlag by -C on the commandline: Warning:
The -fvia-C flag does nothing; it will be removed in a future GHC release
ghc-stage2: panic! (the 'impossible' happened)
(GHC version 7.7.20130108 for x86_64-unknown-linux):
pipeLoop: at phase As but I wanted to stop at phase HCc
Comment in "main/DriverPipeline.hs", lines 665-668 suggests that this behaviour might happen with native code generator. If C codegen is being removed, then -C flag should perhaps be removed as well (also from the documentation)?
Trac metadata
Trac field | Value |
---|---|
Version | 7.7 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | Driver |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | |
Architecture |