[GHC] #1603: a miscompilation of (`rem` 0x40000000)::Int with -O -fvia-C

GHC trac at galois.com
Tue Jul 29 08:43:44 EDT 2008


#1603: a miscompilation of (`rem` 0x40000000)::Int with -O -fvia-C
--------------------------+-------------------------------------------------
 Reporter:  Isaac Dupree  |          Owner:             
     Type:  bug           |         Status:  new        
 Priority:  normal        |      Milestone:  6.10 branch
Component:  None          |        Version:  6.8.1      
 Severity:  normal        |     Resolution:             
 Keywords:                |     Difficulty:  Unknown    
 Testcase:  numeric/1603  |   Architecture:  Multiple   
       Os:  Multiple      |  
--------------------------+-------------------------------------------------
Changes (by simonmar):

  * milestone:  6.10.1 => 6.10 branch

Comment:

 FYI, gcc 4.2.3 and later has the fix.  Only one of my machines has this
 (Fedora 9), so I don't think we can close the bug just yet.

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


More information about the Glasgow-haskell-bugs mailing list