#2861: stage2 crash: PAP object entered!
---------------------------------+------------------------------------------
Reporter: simonmar | Owner:
Type: bug | Status: closed
Priority: high | Milestone: 6.12 branch
Component: Compiler | Version: 6.10.1
Severity: normal | Resolution: fixed
Keywords: | Difficulty: Unknown
Testcase: | Os: Unknown/Multiple
Architecture: Unknown/Multiple |
---------------------------------+------------------------------------------
Changes (by simonpj):
* status: new => closed
* resolution: => fixed
Comment:
I don't know why we get a PAP-entered fault when Lint is happy, but I do
know the cause of the bizarre eta expansion. This fixes it:
{{{
Tue Dec 9 17:03:02 GMT Standard Time 2008 [EMAIL PROTECTED]
* Fix Trac #2861: bogus eta expansion
Urghlhl! I "tided up" the treatment of the "state hack" in CoreUtils,
but
missed an unexpected interaction with the way that a bottoming function
simply swallows excess arguments. There's a long
Note [State hack and bottoming functions]
to explain (which accounts for most of the new lines of code).
}}}
Simon
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2861#comment:1>
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