#2684: Stack overflow in stream-fusion library with GHC 6.10 RC
------------------------------+---------------------------------------------
Reporter: dons | Owner:
Type: bug | Status: new
Priority: high | Milestone: 6.10.1
Component: Compiler | Version: 6.9
Severity: major | Resolution:
Keywords: | Difficulty: Unknown
Testcase: | Architecture: Unknown/Multiple
Os: Unknown/Multiple |
------------------------------+---------------------------------------------
Changes (by igloo):
* priority: normal => high
* difficulty: => Unknown
* milestone: => 6.10.1
Comment:
I haven't tracked down exactly what's going on here, but it seems to be
going round some sort of
loop in functions like `simplNonRecE` and `simplLam`, with binders
`[ds_dC6, ds_dC7]` and body
{{{
case ds_dC7 of _ {
[] -> GHC.Types.[] @ b;
: x [ALWAYS Once Nothing] xs [ALWAYS Once Nothing] ->
GHC.Types.:
@ b (ds_dC6 x) (Data.List.Stream.mapx @ a @ b ds_dC6 xs)
}}}
I'll attach a cut-down example.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2684#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