#5742: compiler option -XDoRec crash
-------------------------------------------+--------------------------------
    Reporter:  Huenniger                   |       Owner:                    
        Type:  bug                         |      Status:  new               
    Priority:  normal                      |   Milestone:                    
   Component:  Compiler                    |     Version:  7.2.1             
    Keywords:  frisby recusive do -XDoRec  |          Os:  Unknown/Multiple  
Architecture:  x86                         |     Failure:  Compile-time crash
  Difficulty:  Unknown                     |    Testcase:                    
   Blockedby:                              |    Blocking:                    
     Related:                              |  
-------------------------------------------+--------------------------------
Changes (by igloo):

  * difficulty:  => Unknown


Old description:

> 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

New description:

 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
 }}}

--

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5742#comment:3>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler

_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to