[GHC] #9753: Segmentation fault when applying ** to a complex number
GHC
ghc-devs at haskell.org
Sat Nov 1 19:14:56 UTC 2014
#9753: Segmentation fault when applying ** to a complex number
---------------------------------+---------------------------------------
Reporter: AlexeiKopylov | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: GHCi | Version: 7.6.3
Keywords: | Operating System: MacOS X
Architecture: ia64 | Type of failure: None/Unknown
Difficulty: Unknown | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Revisions:
---------------------------------+---------------------------------------
Rising a negative complex number to a power using {{{**}}} in ghci causes
a segmentation fault:
{{{
$ ghci
GHCi, version 7.6.3: 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> :m +Data.Complex
Prelude Data.Complex> (-1) ** 1 :: Complex Double
Segmentation fault
}}}
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9753>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list