#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:  
Unknown/Multiple
 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
 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)?

-- 
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
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to