Opened 7 years ago

Closed 7 years ago

#5582 closed bug (fixed)

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 Test Case:
Blocked By: Blocking:
Related Tickets: Differential Rev(s):
Wiki Page:


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:

Change History (3)

comment:1 Changed 7 years ago by igloo

Milestone: 7.4.1
Owner: set to igloo

Thanks for the report.

comment:2 Changed 7 years ago by igloo

Priority: normallow

comment:3 Changed 7 years ago by michalt

Resolution: fixed
Status: newclosed

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.