[GHC] #5188: Runtime error when allocating lots of memory

GHC ghc-devs at haskell.org
Wed Sep 4 09:06:32 CEST 2013


#5188: Runtime error when allocating lots of memory
---------------------------------+---------------------------
        Reporter:  knyblad       |            Owner:
            Type:  bug           |           Status:  patch
        Priority:  low           |        Milestone:  7.6.2
       Component:  GHCi          |          Version:  6.12.1
      Resolution:                |         Keywords:
Operating System:  Linux         |     Architecture:  x86
 Type of failure:  None/Unknown  |       Difficulty:  Unknown
       Test Case:                |       Blocked By:
        Blocking:                |  Related Tickets:
---------------------------------+---------------------------

Comment (by simonmar):

 I'm fairly sure that casting -1 to an unsigned type (W_) is undefined in
 C, because the value is outside the range of the type.  Why not use
 `HS_WORD_MAX`?

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




More information about the ghc-tickets mailing list