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

GHC ghc-devs at haskell.org
Fri Aug 7 19:05:05 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
      Resolution:                    |                Keywords:  panic ghci
                                     |  optimisation
Operating System:  Unknown/Multiple  |            Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |               Test Case:
      Blocked By:                    |                Blocking:
 Related Tickets:                    |  Differential Revisions:
-------------------------------------+-------------------------------------
Description changed by kjslag:

Old description:

> 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

New description:

 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#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list