[GHC] #5393: Segfault with unboxed arrays, unsafeAt, optimisations
GHC
cvs-ghc at haskell.org
Tue Aug 9 14:49:16 CEST 2011
#5393: Segfault with unboxed arrays, unsafeAt, optimisations
----------------------------------------+-----------------------------------
Reporter: daniel.is.fischer | Owner: simonmar
Type: bug | Status: new
Priority: highest | Milestone: 7.4.1
Component: Compiler (NCG) | Version: 7.0.4
Keywords: unsafeAt, optimisations | Testcase:
Blockedby: | Difficulty:
Os: Linux | Blocking:
Architecture: Unknown/Multiple | Failure: Runtime crash
----------------------------------------+-----------------------------------
Comment(by marlowsd@…):
commit 95755da3745c753af2f9db3eeab8bb6eabea0abf
{{{
Author: Simon Marlow <marlowsd at gmail.com>
Date: Tue Aug 9 12:31:03 2011 +0100
Fix an x86 code generation bug (#5393). In fact, there were two bugs
in X86.CodeGen.getNonClobberedOperand: two code fragments were the
wrong way around, and we were using the wrong size on an
instruction (32 bits instead of the word size). This bit of the code
generator must have never worked!
compiler/nativeGen/X86/CodeGen.hs | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
}}}
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5393#comment:5>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list