GHCi panic bytecode vs object code -O2
Compiling some source files with ghc -fglasgow-exts -O2
and some with GHCi results in GHCi panic. No FFI used
in source.
See attached tarball for source files and walkthrough.
-----
ghc-6.2.1: panic! (the `impossible' happened, GHC
version 6.2.1):
Bytecode generator can't handle unboxed tuples.
Possibly due
to foreign import/export decls in source.
Workaround:
compile this module to a .o file, then restart
session.
Please report it as a compiler bug to
glasgow-haskell-bugs@haskell.org,
or http://sourceforge.net/projects/ghc/.
Trac metadata
Trac field |
Value |
Version |
6.2.1 |
Type |
Bug |
TypeOfFailure |
OtherFailure |
Priority |
normal |
Resolution |
ResolvedFixed |
Component |
Build System |
Test case |
|
Differential revisions |
|
BlockedBy |
|
Related |
|
Blocking |
|
CC |
|
Operating system |
|
Architecture |
|