#1709: simplifier causes stack overflow in ghc-6.8.0.20070916
-----------------------------------------+----------------------------------
Reporter: [EMAIL PROTECTED] | Owner: simonpj
Type: bug | Status: new
Priority: normal | Milestone: 6.8.1
Component: Compiler | Version: 6.8
Severity: normal | Resolution:
Keywords: | Difficulty: Unknown
Os: Linux | Testcase:
Architecture: x86 |
-----------------------------------------+----------------------------------
Comment (by simonpj):
Excellent report thank you.
I finally managed to get everything built and thereby reproduced it. What
was happening was that a ''strict'' function was ending up as a loop-
breaker. But in the interface file we said "this is is strict, and here's
its worker". So its unfolding was, in effect, exposed, and we got an
infinite inlining loop.
It's a bizarre case that should not really arise, so I'll pursue that.
But meanwhile I have fixed the actual bug.
(Ian, it turned out that I fixed it directly in the 6.8 branch. I'll push
to the HEAD too myself.)
Christian: would you like to check, using tonight's snapshot, that all is
well? I'll leave the bug open for now.
Simon
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1709#comment:3>
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