#631: deriving show fails in ghci/ppc
---------------------------------+------------------------------------------
Reporter: [EMAIL PROTECTED] | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: GHCi | Version: 6.4.1
Severity: major | Keywords:
Os: Linux | Architecture: powerpc
---------------------------------+------------------------------------------
To reproduce this bug, write the following text to bug.hs.
{{{
data D = D Char deriving Show
main = print f
f = D 'a'
}}}
Start ghci, and at the prompt enter
`:load bug.hs`, then `f`. Instead of printing `D 'a'`, GHCi will
segfault.
* This bug DOES manifest on PowerPC (running Debian/sid).
* This bug DOES NOT manifest on i386 (running Debian/sid).
* This bug DOES manifest when bug.hs is loaded in ghci.
* This bug DOES NOT manifest when bug.hs is compiled with ghc.
--
Ticket URL: <http://cvs.haskell.org/trac/ghc/ticket/631>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs