[GHC] #5924: Bad Cmm generated for updating one element in Array#
GHC
cvs-ghc at haskell.org
Wed Mar 14 13:42:06 CET 2012
#5924: Bad Cmm generated for updating one element in Array#
---------------------------------+------------------------------------------
Reporter: tibbe | Owner:
Type: bug | Status: new
Priority: normal | Milestone: 7.6.1
Component: Compiler | Version: 7.4.1
Keywords: | Os: Unknown/Multiple
Architecture: Unknown/Multiple | Failure: None/Unknown
Difficulty: Unknown | Testcase:
Blockedby: | Blocking:
Related: |
---------------------------------+------------------------------------------
Changes (by simonmar):
* difficulty: => Unknown
* milestone: => 7.6.1
Comment:
I think the `memset` can be omitted; we don't care about the card table
when the array is in the young generation. The assignments you've marked
as XXX will probably be removed by the coalescing optimisation in the
register allocator - you might want to check the assembly.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5924#comment:3>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list