|
Re: [GHC] #952: Floating point exception building HEAD with 6.6: msg#00195lang.haskell.glasgow.bugs
#952: Floating point exception building HEAD with 6.6 ----------------------+----------------------------------------------------- Reporter: simonmar | Owner: Type: bug | Status: closed Priority: normal | Milestone: 6.6.1 Component: Compiler | Version: 6.6 Severity: normal | Resolution: fixed Keywords: | Difficulty: Unknown Testcase: | Architecture: Multiple Os: Multiple | ----------------------+----------------------------------------------------- Changes (by simonmar): * architecture: x86_64 (amd64) => Multiple * resolution: => fixed * status: new => closed * os: Linux => Multiple Comment: Fixed: {{{ Fri Oct 20 16:39:25 BST 2006 Simon Marlow <simonmar@xxxxxxxxxxxxx> * In hashExpr, use Word32 rather than relying on wrapping behaviour of Int Fixes #952, as it turns out. When compiling via C, we are at the mercy of C's undefined behaviour with respect to overflow of signed integer operations, and this was biting us here. Perhaps we should always add the -fwrapv flag to gcc, but since Haskell doesn't define overflow on Int either, it seemed the right thing to do to fix this code anyway. M ./compiler/coreSyn/CoreUtils.lhs -9 +17 }}} -- Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/952> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler_______________________________________________ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@xxxxxxxxxxx http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: [GHC] #552: GHCi :m doesn't restore default decl, GHC |
|---|---|
| Next by Date: | Re: [GHC] #566: mips-sgi-irix6.5 port?, GHC |
| Previous by Thread: | [GHC] #952: Floating point exception building HEAD with 6.6, GHC |
| Next by Thread: | Re: [GHC] #315: Arbitrary function sections, GHC |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |