Opened 10 years ago

Closed 10 years ago

Last modified 44 years ago

#245 closed bug (Fixed)

GHCi panic bytecode vs object code -O2

Reported by: lambintheloop Owned by: nobody
Priority: normal Milestone:
Component: Build System Version: 6.2.1
Keywords: Cc:
Operating System: Architecture:
Type of failure: Difficulty:
Test Case: Blocked By:
Blocking: Related Tickets:

Description

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/.

Attachments (1)

broken.2.tgz (31.0 KB) - added by lambintheloop 10 years ago.

Download all attachments as: .zip

Change History (2)

Changed 10 years ago by lambintheloop

comment:1 Changed 10 years ago by simonmar

  • Status changed from assigned to closed
Logged In: YES 
user_id=48280

Bug has been fixed, 6.2.2 will include the fix.
Note: See TracTickets for help on using tickets.