#7270: Incorrect optimization with Data.ByteString.append
------------------------------------------+---------------------------------
  Reporter:  ocheron                      |          Owner:  duncan          
      Type:  bug                          |         Status:  new             
  Priority:  highest                      |      Milestone:  7.6.2           
 Component:  libraries (other)            |        Version:  7.6.1           
Resolution:                               |       Keywords:                  
        Os:  Unknown/Multiple             |   Architecture:  Unknown/Multiple
   Failure:  Incorrect result at runtime  |     Difficulty:  Unknown         
  Testcase:                               |      Blockedby:                  
  Blocking:                               |        Related:                  
------------------------------------------+---------------------------------
Changes (by igloo):

  * owner:  igloo => duncan


Comment:

 Right, the patch doesn't build for me either, in either a GHC tree or as a
 standalone package:
 {{{
 [ 7 of 21] Compiling Data.ByteString  ( Data/ByteString.hs,
 dist/build/Data/ByteString.o )

 Data/ByteString.hs:488:23: Not in scope: `unsafeDupablePerformIO'

 Data/ByteString.hs:679:33: Not in scope: `unsafeDupablePerformIO'

 Data/ByteString.hs:699:33: Not in scope: `unsafeDupablePerformIO'

 Data/ByteString.hs:728:27: Not in scope: `unsafeDupablePerformIO'

 Data/ByteString.hs:759:27: Not in scope: `unsafeDupablePerformIO'

 Data/ByteString.hs:1512:38: Not in scope: `unsafeDupablePerformIO'
 }}}

 Duncan, could you take a look please?

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/7270#comment:8>
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

Reply via email to