[GHC] #947: ghc -O space leak: CSE between different CAFs
GHC
trac at galois.com
Tue Oct 17 03:56:12 EDT 2006
#947: ghc -O space leak: CSE between different CAFs
--------------------------+-------------------------------------------------
Reporter: int-e at gmx.de | Owner:
Type: bug | Status: new
Priority: normal | Milestone: 6.8
Component: Compiler | Version: 6.5
Severity: normal | Resolution:
Keywords: | Difficulty: Unknown
Testcase: | Architecture: x86
Os: Linux |
--------------------------+-------------------------------------------------
Changes (by simonpj):
* milestone: => 6.8
Comment:
I don't know any way to solve this problem automatically. But I do think
it should be under your control.
For now, you can say -fno-cse.
However, I recently changed GHC to do no CSE in functions marked INLINE or
NOINLINE. However that does not work in this case, because the sub-
expressions get floated out. I'll try to fix that when I next visit the
simplifier. That would allow per-definition control of CSE, which is more
what you want.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/947>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list