#5352: Very slow (nonterminating?) compilation if libraries compiled with
-fexpose-all-unfoldings
---------------------------------+------------------------------------------
Reporter: batterseapower | Owner: simonpj
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 7.0.3
Keywords: | Testcase:
Blockedby: | Difficulty:
Os: Unknown/Multiple | Blocking:
Architecture: Unknown/Multiple | Failure: Compile-time performance bug
---------------------------------+------------------------------------------
Comment(by simonpj@…):
commit 349b8bb23e16733875595b6db496080c8bebce49
{{{
Author: Simon Peyton Jones <[email protected]>
Date: Tue Aug 9 17:45:27 2011 +0100
Make the free variable finder in TidyPgm work properly
We were getting exponential behaviour by gathering free
variables *both* from the unfolding *and* the RHS of
a definition. While unfoldings are of limited size this
is merely inefficient. But with -fexpose-all-unfoldings
it becomes exponentially costly. Doh.
Fixes Trac #5352.
compiler/main/TidyPgm.lhs | 38 +++++++++++++++++++++++++-------------
1 files changed, 25 insertions(+), 13 deletions(-)
}}}
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5352#comment:4>
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