[GHC] #5165: GHC doesn't optimize FP excess precision properly

GHC cvs-ghc at haskell.org
Wed May 4 12:47:09 CEST 2011


#5165: GHC doesn't optimize FP excess precision properly
-----------------------+----------------------------------------------------
    Reporter:  ezyang  |       Owner:                             
        Type:  bug     |      Status:  new                        
    Priority:  normal  |   Component:  Compiler                   
     Version:  7.1     |    Keywords:                             
    Testcase:          |   Blockedby:                             
          Os:  Linux   |    Blocking:                             
Architecture:  x86     |     Failure:  Incorrect result at runtime
-----------------------+----------------------------------------------------

Comment(by ezyang):

 Notes from IRC discussion with Simon Marlow:

  * `-fexcess-precision` doesn't do anything anymore (since `-fvia-C`), so
 it should emit a warning
  * The correct workaround in this case is to use `-msse2`
  * We probably don't actually want to fix this.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5165#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler



More information about the Glasgow-haskell-bugs mailing list