
#15714: Compacting StaticPtr of a function doesn't work -------------------------------------+------------------------------------- Reporter: osa1 | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 8.4.3 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 simonmar): I don't think that would be deterministic enough to be a reliable API. You could imagine the compiler making different optimisation choices which would change whether a function refers to CAFs or not - e.g. full laziness can do that, and then your program either works or not depending on whether optimisation is turned on. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/15714#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler