#7563: Passing -C flag causes the 'impossible' to happen
Reporter:  jstolarek                          |          Owner:                 
    Type:  bug                                |         Status:  new            
Priority:  normal                             |      Component:  Driver         
 Version:  7.7                                |       Keywords:                 
      Os:  Unknown/Multiple                   |   Architecture:  
 Failure:  Incorrect warning at compile-time  |      Blockedby:                 
Blocking:                                     |        Related:                 
 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
 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

Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/7563>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler

Glasgow-haskell-bugs mailing list

Reply via email to