Skip to content

My program compiles with -O1 but compiler panics with -O2 and up

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.

Trac metadata
Trac field Value
Version 6.8.2
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Compiler
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information