#7366: Strange data corruption with HEAD
----------------------------------+-----------------------------------------
  Reporter:  bgamari              |          Owner:                  
      Type:  bug                  |         Status:  closed          
  Priority:  normal               |      Milestone:  7.8.1           
 Component:  Compiler             |        Version:  7.7             
Resolution:  fixed                |       Keywords:                  
        Os:  Unknown/Multiple     |   Architecture:  Unknown/Multiple
   Failure:  Building GHC failed  |     Difficulty:  Unknown         
  Testcase:                       |      Blockedby:                  
  Blocking:                       |        Related:                  
----------------------------------+-----------------------------------------

Comment(by marlowsd@…):

 commit 3a6b1bfb08602a8193b0025f0fe47ec8ddf8dad2
 {{{
 Author: Simon Marlow <marlo...@gmail.com>
 Date:   Fri Oct 26 11:12:49 2012 +0100

     Turn on -O2 for the RTS by default

     Optimisation now makes a difference when compiling .cmm code, because
     it enables the optimisation passes in CmmPipeline.  Recently validate
     has not been optimising the .cmm code because it uses SRC_HC_OPTS=-O0,
     which explains why I couldn't reproduce #7366 in validate (the bug
     miscompiled rts/PrimOps.cmm).

  mk/config.mk.in |    8 +++++---
  1 files changed, 5 insertions(+), 3 deletions(-)
 }}}

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