Ticket #5582 (closed bug: fixed)

Opened 19 months ago

Last modified 13 months ago

Panic from -C flag

Reported by: mjo Owned by: igloo
Priority: low Milestone: 7.6.1
Component: Compiler Version: 7.2.1
Keywords: Cc:
Operating System: Unknown/Multiple Architecture: Unknown/Multiple
Type of failure: None/Unknown Difficulty:
Test Case: Blocked By:
Blocking: Related Tickets:

Description

jumba ~ $ cat hello_world.hs

main = do
  print "Hello, World."

jumba ~ $ ghc -C hello_world.hs

addFlag by -C on the commandline:
    Warning: The -fvia-C flag does nothing; it will be removed in a future GHC release
ghc: panic! (the 'impossible' happened)
  (GHC version 7.2.1 for x86_64-unknown-linux):
	pipeLoop: at phase As but I wanted to stop at phase HCc

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

Change History

Changed 18 months ago by igloo

  • owner set to igloo
  • milestone set to 7.4.1

Thanks for the report.

Changed 15 months ago by igloo

  • priority changed from normal to low
  • milestone changed from 7.4.1 to 7.6.1

Changed 13 months ago by michalt

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

This has been fixed in HEAD (probably 9c685f44e873f01403fd83209487faa64aeb47fb)

> ~/dev/ghc-clean/inplace/bin/ghc-stage2 -C Test.hs

on the commandline: Warning:
    Compiler not unregisterised, so ignoring -C
[1 of 1] Compiling Main             ( Test.hs, Test.o )
Linking Test ...
Note: See TracTickets for help on using tickets.