Ticket #2807 (closed bug: wontfix)

Opened 4 years ago

Last modified 4 years ago

the 'impossible' happened

Reported by: celes Owned by:
Priority: normal Milestone:
Component: Compiler Version: 6.6
Keywords: Cc:
Operating System: Unknown/Multiple Architecture: Unknown/Multiple
Type of failure: Difficulty: Unknown
Test Case: Blocked By:
Blocking: Related Tickets:

Description

ghc panicced when compiling some code, which is valid code

ghc --make lamb.hs -O2 -optc-O3 -fglasgow-exts -o lamb [1 of 1] Compiling Main ( lamb.hs, lamb.o ) ghc-6.6: panic! (the 'impossible' happened)

(GHC version 6.6 for i386-apple-darwin):

initC: srt

Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug

make: *** [lamb] Error 1

Attachments

lamb.hs Download (5.2 KB) - added by celes 4 years ago.

Change History

Changed 4 years ago by celes

Changed 4 years ago by celes

Note the error does not occur if the -O2 option is not used

Changed 4 years ago by simonpj

  • status changed from new to closed
  • difficulty set to Unknown
  • resolution set to wontfix

Thanks for the report. Definitely a bug in 6.6.

However, it's fine in GHC 6.8 (last year's release) and 6.10 (last month's release). I'm afraid we won't be making any new releases of 6.6, so I can only suggest you upgrade.

Simon

Changed 4 years ago by celes

I will upgrade, thanks.

Note: See TracTickets for help on using tickets.