[GHC] #2124: My program compiles with -O1 but compiler panics with -O2 and up

GHC trac at galois.com
Tue Feb 26 11:18:38 EST 2008


#2124: My program compiles with -O1 but compiler panics with -O2 and up
-----------------------------+----------------------------------------------
    Reporter:  brassel       |       Owner:          
        Type:  bug           |      Status:  new     
    Priority:  normal        |   Component:  Compiler
     Version:  6.8.2         |    Severity:  minor   
    Keywords:  optimization  |    Testcase:          
Architecture:  x86           |          Os:  Linux   
-----------------------------+----------------------------------------------
 I get an

 ghc-6.8.2: panic! (the 'impossible' happened)
   (GHC version 6.8.2 for i386-unknown-linux):
         nameModule poly_lookup'1_slSy{v}

 when compiling my module with -O2 and up.
 Before giving more details, i.e., going to the work of isolating the bug
 I'd like to know if there is an interest for this.

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


More information about the Glasgow-haskell-bugs mailing list