[GHC] #7075: GHC 7.4.1 Mac OSX 32 bit gets panic on compilation of Haskell code to C code
GHC
cvs-ghc at haskell.org
Sat Jul 14 10:52:46 CEST 2012
#7075: GHC 7.4.1 Mac OSX 32 bit gets panic on compilation of Haskell code to C
code
---------------------------------------+------------------------------------
Reporter: garlicbone | Owner:
Type: bug | Status: new
Priority: normal | Component: Compiler
Version: 7.4.1 | Keywords: C code generation
Os: MacOS X | Architecture: x86
Failure: GHC rejects valid program | Testcase:
Blockedby: | Blocking:
Related: |
---------------------------------------+------------------------------------
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
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/7075>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list