#2692: ghc-6.10.0.20081007 seg faults on Sparc
-------------------------+--------------------------------------------------
Reporter: maeder | Owner: benl
Type: bug | Status: closed
Priority: normal | Milestone: 6.12.1
Component: Compiler | Version: 6.9
Severity: normal | Resolution: fixed
Keywords: | Difficulty: Unknown
Testcase: | Os: Solaris
Architecture: sparc |
-------------------------+--------------------------------------------------
Changes (by benl):
* status: assigned => closed
* resolution: => fixed
Comment:
The GC gets miscompiled when the register variable is used because names
like %l1 and %i1 are just offsets into the register window. In C land,
when a function call takes place the window moves, so we lose the value of
gct. We can't use any of the global regs %g0 - %g7 either because their
either reserved for other purposes or caller-saves.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2692#comment:17>
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