Ticket #245 (closed bug: Fixed)

Opened 8 years ago

Last modified 42 years ago

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

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

Change History

Changed 8 years ago by lambintheloop

Changed 8 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.