[GHC] #10757: ghci panic: floatExpr tick break<1062>()

GHC ghc-devs at haskell.org
Fri Aug 7 19:03:17 UTC 2015


#10757: ghci panic: floatExpr tick break<1062>()
-------------------------------------+-------------------------------------
              Reporter:  kjslag      |             Owner:
                  Type:  bug         |            Status:  new
              Priority:  normal      |         Milestone:
             Component:  Compiler    |           Version:  7.10.2
              Keywords:  panic ghci  |  Operating System:  Unknown/Multiple
  optimisation                       |
          Architecture:              |   Type of failure:  None/Unknown
  Unknown/Multiple                   |
             Test Case:              |        Blocked By:
              Blocking:              |   Related Tickets:
Differential Revisions:              |
-------------------------------------+-------------------------------------
 Loading a file with {-# OPTIONS -O #-} in ghci causes a panic. See details
 below.


 $ cat panic.hs
 {-# OPTIONS -O #-}
 main :: IO ()
 main = return ()

 $ ghci
 GHCi, version 7.10.2: http://www.haskell.org/ghc/  :? for help
 Prelude> :load panic.hs
 [1 of 1] Compiling Main             ( panic.hs, interpreted )
 ghc: panic! (the 'impossible' happened)
   (GHC version 7.10.2 for x86_64-unknown-linux):
         floatExpr tick break<0>()

 Please report this as a GHC bug:  http://www.haskell.org/ghc/reportabug

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10757>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list