#1852: -O2 -funbox-strict-fields causes incorrect behavior
----------------------+-----------------------------------------------------
 Reporter:  mwolak    |          Owner:                
     Type:  bug       |         Status:  new           
 Priority:  normal    |      Milestone:                
Component:  Compiler  |        Version:  6.8.1         
 Severity:  normal    |       Keywords:                
 Testcase:            |   Architecture:  x86_64 (amd64)
       Os:  Linux     |  
----------------------+-----------------------------------------------------
 The attached code behaves incorrectly when compiled with -O2 -funbox-
 strict-fields. Normally it correctly prints [1,2,3,4], but with both flags
 enabled, it prints [1,3,0,0].

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

Reply via email to