[GHC] #10571: GHC 7.10.1 segfaults when shiftL-ing Integers by negative amounts

GHC ghc-devs at haskell.org
Wed Oct 7 06:47:00 UTC 2015


#10571: GHC 7.10.1 segfaults when shiftL-ing Integers by negative amounts
----------------------------------+--------------------------------------
        Reporter:  anders_        |                Owner:
            Type:  bug            |               Status:  new
        Priority:  high           |            Milestone:
       Component:  Compiler       |              Version:  7.10.1
      Resolution:                 |             Keywords:
Operating System:  MacOS X        |         Architecture:  x86_64 (amd64)
 Type of failure:  Runtime crash  |            Test Case:
      Blocked By:                 |             Blocking:
 Related Tickets:                 |  Differential Rev(s):
----------------------------------+--------------------------------------

Comment (by Ben Gamari <ben@…>):

 In [changeset:"ea4df12f7f3fc4d1d2af335804b8ec893f45550c/ghc" ea4df12/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="ea4df12f7f3fc4d1d2af335804b8ec893f45550c"
 Ensure shiftL/shiftR arguments aren't negative

 Fixes #10571.
 }}}

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10571#comment:8>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list