[GHC] #8333: The impossible happened with TH + -fno-omit-interface-pragmas
GHC
ghc-devs at haskell.org
Fri Sep 20 01:40:47 CEST 2013
#8333: The impossible happened with TH + -fno-omit-interface-pragmas
------------------------------------+-------------------------------------
Reporter: errge | Owner:
Type: bug | Status: new
Priority: high | Milestone: 7.8.1
Component: Compiler | Version: 7.7
Keywords: | Operating System: Unknown/Multiple
Architecture: Unknown/Multiple | Type of failure: GHCi crash
Difficulty: Unknown | Test Case:
Blocked By: | Blocking:
Related Tickets: |
------------------------------------+-------------------------------------
{{{
$ ./ghc-stage2 --interactive Test.hs
GHCi, version 7.7.20130919: http://www.haskell.org/ghc/ :? for help
Loading package ghc-prim ... linking ... done.
Loading package integer-gmp ... linking ... done.
Loading package base ... linking ... done.
[1 of 1] Compiling Main ( /home/errge/tmp/Test.hs, interpreted
)
ghc-stage2: panic! (the 'impossible' happened)
(GHC version 7.7.20130919 for i386-unknown-linux):
toIfaceTickish
Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug
>
Leaving GHCi.
}}}
With Test.hs being:
{{{
{-# LANGUAGE TemplateHaskell #-}
{-# OPTIONS_GHC -fno-omit-interface-pragmas #-}
main :: IO ()
main = return ()
}}}
I want to make TemplateHaskell generated non-essential info visible even
with -O0. Compilation works, everything is fine. But I can't load source
code like this with GHCi, which is annoying.
Setting priority to high, since this is a crash.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8333>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list