Passing -C flag causes the 'impossible' to happen
|Reported by:||jstolarek||Owned by:||igloo|
|Type of failure:||Incorrect warning at compile-time||Difficulty:||Unknown|
|Test Case:||T7563||Blocked By:|
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)?