[GHC] #7270: Incorrect optimization with Data.ByteString.append
GHC
cvs-ghc at haskell.org
Tue Sep 25 08:09:39 CEST 2012
#7270: Incorrect optimization with Data.ByteString.append
-----------------------------------------+----------------------------------
Reporter: ocheron | Owner:
Type: bug | Status: new
Priority: normal | Component: libraries (other)
Version: 7.6.1 | Keywords:
Os: Unknown/Multiple | Architecture: Unknown/Multiple
Failure: Incorrect result at runtime | Testcase:
Blockedby: | Blocking:
Related: |
-----------------------------------------+----------------------------------
Comment(by tab):
I can also reproduce without append but using the shorter func:
{{{
func x = s `seq` r
where
r = B.map succ x
s = B.map succ r
}}}
it fails at O and O2 on ghc 7.6.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/7270#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list