#14959: Heap overflow in optimizer -------------------------------------+------------------------------------- Reporter: darchon | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 8.4.1 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by Simon Peyton Jones <simonpj@…>): In [changeset:"efc844f5b955385d69d8e20b80d38311083a6665/ghc" efc844f5/ghc]: {{{ #!CommitTicketReference repository="ghc" revision="efc844f5b955385d69d8e20b80d38311083a6665" Fix over-eager constant folding in bitInteger The RULE for bitInteger was trying to constant-fold bitInteger 9223372036854775807# which meant constructing a gigantic Integer at compile time. Very bad idea! Easily fixed. Fixes Trac #14959, #14962. }}} -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/14959#comment:7> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler