#2425: Crash constructing a ClockTime too far into the future
-------------------------+--------------------------------------------------
    Reporter:  wagstaff  |       Owner:          
        Type:  bug       |      Status:  new     
    Priority:  normal    |   Component:  Compiler
     Version:  6.8.3     |    Severity:  normal  
    Keywords:            |    Testcase:          
Architecture:  x86       |          Os:  Windows 
-------------------------+--------------------------------------------------
 Per summary.  Type this in to GHCi:

 `show (TOD 12312323123 0)`

 and it crashes.

 Similar bad behaviour with compiled code.

 Ah, looks like it goes wrong when the bits wrap.  `(TOD 2147483647 0)` is
 OK, but `(TOD 2147483648 0)` falls apart.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2425>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to