
#15038: Memory Corruption (strange closure type) -------------------------------------+------------------------------------- Reporter: andrewthad | Owner: (none) Type: bug | Status: patch Priority: highest | Milestone: 8.6.1 Component: Compiler | Version: 8.4.1 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: Runtime crash | Test Case: Blocked By: | Blocking: Related Tickets: #9718 | Differential Rev(s): Phab:D4652 Wiki Page: | -------------------------------------+------------------------------------- Comment (by simonpj):
I think to avoid this bug we need a way to ensure we don't make things more CAFFY after CAFFYness information is calculated in TidyPgm
The whole point of #9718 is to ''stop'' `TidyPgm` predicting CAF-hood. Instead compute CAF-hood just before code generation, after all transformations (including any on STG) have settled down. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/15038#comment:30 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler