logo       

bug (?) - unboxed tuples: msg#00042

lang.haskell.glasgow.bugs

Subject: bug (?) - unboxed tuples

Hello,
I recently read the following:
dafis@linux:~/Documents/pi3/diverses/Mascheroni> ghci Exponent.hs
___ ___ _
/ _ \ /\ /\/ __(_)
/ /_\// /_/ / / | | GHC Interactive, version 6.2, for Haskell 98.
/ /_\\/ __ / /___| | http://www.haskell.org/ghc/
\____/\/ /_/\____/|_| Type :? for help.

Loading package base ... linking ... done.
Skipping TheLog ( ./TheLog.hs, ./TheLog.o )
Compiling Exponent ( Exponent.hs, interpreted )
ghc-6.2: panic! (the `impossible' happened, GHC version 6.2):
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.

The complete code of both modules is attached, as well as system information
(I know not much about such things, so I can only hope that is helpful for
you).

Compiling Exponent to a .o file did work, so there is no real problem.
However, ghci said 'Please report it as a compiler bug', so I am doing it.
Besides, there are no tuples at all in module Exponent, module TheLog, where
there are a couple of tuples (are they unboxed though?) was compiled earlier,
so I don't understand the message. If you could spare the time to explain (or
give a source for an explanation), I would be even more grateful than I am
anyway (such a wonderful thing as ghc FOR FREE!!).

All the best to you,
Daniel Fischer

Attachment: GHCError.txt
Description: Text document

_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@xxxxxxxxxxx
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise