ghci optimisation panic: floatExpr tick break<0>()
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