[GHC] #10784: ghci crashed when ``-with-rtsopts=-A64m'' is specified

GHC ghc-devs at haskell.org
Fri Aug 21 06:46:14 UTC 2015


#10784: ghci crashed when ``-with-rtsopts=-A64m'' is specified
-------------------------------------------+-------------------------------
              Reporter:  wangbj            |             Owner:
                  Type:  bug               |            Status:  new
              Priority:  normal            |         Milestone:
             Component:  Compiler          |           Version:  7.10.2
              Keywords:                    |  Operating System:  Linux
          Architecture:  Unknown/Multiple  |   Type of failure:  GHCi crash
             Test Case:                    |        Blocked By:
              Blocking:                    |   Related Tickets:
Differential Revisions:                    |
-------------------------------------------+-------------------------------
 $ cat /tmp/t1.hs
 {-# OPTIONS -O2 -with-rtsopts=-A64m #-}

 main = putStrLn "hello, world!"
 wangbj at nuc ~/hs $ runghc /tmp/t1.hs
 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/10784>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list