#1654: GHC Panic in 6.8.1
-----------------------------+----------------------------------------------
Reporter: [EMAIL PROTECTED] | Owner:
Type: bug | Status: new
Priority: high | Milestone: 6.8 branch
Component: Compiler | Version: 6.8.1
Severity: major | Resolution:
Keywords: | Difficulty: Unknown
Testcase: | Architecture: x86
Os: Linux |
-----------------------------+----------------------------------------------
Comment (by simonpj):
Replying to [comment:9 simonmar]:
> Looking at the repro instructions for this bug, it seems the common
factor is that the bootstrapping compiler is built with no optimisation,
''including the libraries''.
>
> Simon, you could try setting your `build.mk` to "quickest", and add
`GhcStage3HcOpts = -O2`, then try building a stage 3 compiler, my hunch is
that this should reproduce it.
Excellent hunch! I've nailed it. It's quite unrelated to the `RnTypes`
Lint failure, I think. What's happening is that a function with a RULE is
getting a new unique, but that unique isn't being propagated into the
record representing the RULE itself.
Fixing it now.
Simon
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1654#comment:11>
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