Ticket #7075 (closed bug: fixed)

Opened 10 months ago

Last modified 10 months ago

GHC 7.4.1 Mac OSX 32 bit gets panic on compilation of Haskell code to C code

Reported by: garlicbone Owned by:
Priority: normal Milestone:
Component: Compiler Version: 7.4.1
Keywords: C code generation Cc:
Operating System: MacOS X Architecture: x86
Type of failure: GHC rejects valid program Difficulty: Unknown
Test Case: Blocked By:
Blocking: Related Tickets:

Description

I run this command: ghc -C s4.hs

And receive the next message

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.4.1 for i386-apple-darwin):

pipeLoop: at phase As but I wanted to stop at phase HCc

This is the content of s4.hs

import System.Environment -- | 'main' runs the main program main :: IO () main = getArgs >>= print . haqify . head haqify s = "Haq! " ++ s

Attachments

s4.hs Download (142 bytes) - added by garlicbone 10 months ago.

Change History

Changed 10 months ago by garlicbone

Changed 10 months ago by simonmar

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

This has been fixed already:

on the commandline: Warning:
    Compiler not unregisterised, so ignoring -C
Note: See TracTickets for help on using tickets.