#1658: CSE changes semantics
-----------------------+----------------------------------------------------
  Reporter:  guest     |          Owner:          
      Type:  bug       |         Status:  new     
  Priority:  normal    |      Milestone:          
 Component:  Compiler  |        Version:  6.7     
  Severity:  normal    |       Keywords:          
Difficulty:  Unknown   |             Os:  Multiple
  Testcase:            |   Architecture:  Multiple
-----------------------+----------------------------------------------------
Create file:

 main = print $ 1/0 - 1/0

 Compile with -O0, it outputs: NaN

 Compile with -O1, it outputs: 0.0

 Compile with -O1 -fno-cse, it outputs: NaN

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