Opened 2 years ago

Closed 2 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 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 (3)

comment:1 Changed 2 years ago by igloo

  • Milestone set to 7.4.1
  • Owner set to igloo

Thanks for the report.

comment:2 Changed 2 years ago by igloo

  • Milestone changed from 7.4.1 to 7.6.1
  • Priority changed from normal to low

comment:3 Changed 2 years ago by michalt

  • Resolution set to fixed
  • Status changed from new to closed

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.