| -----Original Message-----
| From: Malcolm Wallace [mailto:[EMAIL PROTECTED]]
| Sent: Monday, December 18, 2000 12:22 PM
| To: [EMAIL PROTECTED]
| Subject: FFI problems?
| 
| 
| I just tried to compile this:
| 
| > module Fib where
| > foreign export fib :: Int -> Int
| > fib 0 = 1
| > fib 1 = 1
| > fib n = fib (n-1) + fib (n-2)
| 
| using GHC 4.08 under Linux,
| 
| > $ ghc -c Fib.hs -fglasgow-exts
| >
| > panic! (the `impossible' happened):
| >     tcLookupGlobalValue: <THIS>.PrelIOBase.returnIO{-0B,s-}
| > 
| > Please report it as a compiler bug to 
| [EMAIL PROTECTED]
| 
| Can someone check whether this has been fixed in more recent versions
| of the compiler?

I think it was fixed in 4.08.1.  In any case 4.08 has a nasty bug
in the NCG register allocator; you should move to 4.08.1 if you
haven't already.

J

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

Reply via email to