[GHC] #15673: heap overflow with Bits.shift and Integer

GHC ghc-devs at haskell.org
Mon Sep 24 17:18:05 UTC 2018


#15673: heap overflow with Bits.shift and Integer
-------------------------------------+-------------------------------------
        Reporter:  mcmayer           |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:  8.8.1
       Component:  Compiler          |              Version:  8.4.3
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:  x86_64
 Type of failure:  GHC doesn't work  |  (amd64)
  at all                             |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:  14959             |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------
Changes (by osa1):

 * os:  MacOS X => Unknown/Multiple
 * milestone:  8.4.4 => 8.8.1


Comment:

 Confirmed on GHC HEAD and 8.4 on Linux. Note that you need to pass -O or
 -O2 to reproduce, with -O0 (the default) this compiles without any errors.

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


More information about the ghc-tickets mailing list