[GHC] #9306: Crash when shifting Integers too far left
GHC
ghc-devs at haskell.org
Mon Jul 14 07:51:07 UTC 2014
#9306: Crash when shifting Integers too far left
-------------------------------------+------------------------------------
Reporter: dfeuer | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: libraries/base | Version: 7.8.3
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture: Unknown/Multiple
Type of failure: Runtime crash | Difficulty: Unknown
Test Case: | Blocked By:
Blocking: | Related Tickets:
-------------------------------------+------------------------------------
Comment (by simonpj):
It's not clear what to do here. After all, arbitrary precision integers
are supposed to be, well, arbitrary precision. If it "worked" you'd
probably get a heap overflow instead. What should the maximum size of a
shift be?
If anyone has good ideas, go for it!
Simon
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9306#comment:3>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list