Ticket #7159 (closed bug: invalid)

Opened 9 months ago

Last modified 9 months ago

CoreToStg.coreToStgArgs fails when CoreToStg.coreToStg is called

Reported by: guest Owned by:
Priority: normal Milestone:
Component: GHC API Version: 7.4.1
Keywords: Cc:
Operating System: Linux Architecture: x86
Type of failure: Incorrect result at runtime Difficulty: Unknown
Test Case: Blocked By:
Blocking: Related Tickets:

Description

Not much more to say than the title. It said Panic! (the 'impossible' happened), and to report it as a bug.

The file "typescript" in the attached tarball gives the version and all the information from "ghc --info", as well as a demonstration of the failure. The tarball also contains the program and test case that failed.

Attachments

compile-core-stg-bug.tar.gz Download (1.8 KB) - added by guest 9 months ago.
A demonstration and the means to reproduce the bug

Change History

Changed 9 months ago by guest

A demonstration and the means to reproduce the bug

Changed 9 months ago by guest

  • status changed from new to closed
  • resolution set to invalid

This is not a bug after all. I needed to use CorePrep?.corePrepPgm before trying to use CoreToStg?.coreToStg. I suppose the lack of documentation could be called a bug, but since the internals are in constant flux, I'm not surprised that nobody bothers to write any.

Changed 9 months ago by simonpj

  • difficulty set to Unknown

Maybe you can help write the documentation you needed? Where would it have helped? My guess is here:  http://www.haskell.org/haskellwiki/GHC/As_a_library. If you wanted to write the section you'd like to have read, we can check it.

Simon

Note: See TracTickets for help on using tickets.