[GHC] #6140: segfault in OS X GHCi when dealing with infinite integers
GHC
cvs-ghc at haskell.org
Mon Jun 4 16:24:06 CEST 2012
#6140: segfault in OS X GHCi when dealing with infinite integers
---------------------------+------------------------------------------------
Reporter: olf | Owner:
Type: bug | Status: new
Priority: normal | Component: GHCi
Version: 6.10.4 | Keywords: segfault NaN Infinity
Os: MacOS X | Architecture: x86
Failure: Runtime crash | Testcase:
Blockedby: | Blocking:
Related: |
---------------------------+------------------------------------------------
Comment(by michalt):
FYI: I've just tried this on OS X 10.7.4 with GHC 7.4.1 and everything
works fine:
{{{
GHCi, version 7.4.1: http://www.haskell.org/ghc/ :? for help
Loading package ghc-prim ... linking ... done.
Loading package integer-gmp ... linking ... done.
Loading package base ... linking ... done.
Prelude> 1/0
Infinity
Prelude> negate (1/0)
-Infinity
Prelude>
}}}
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/6140#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list