Int64 ^ Int64 broken by optimization on SPARC
The T7507 test is broken on SPARC NCG, I've more simplified it to
module Main where
import Data.Int
main = print ( ( 2 :: Int64 ) ^ ( 6 :: Int64 ) )
it does not matter if it's run with two Int64 or just with one:
main = print ( 2 ^ 6 :: Int64 )
the result with -O is still 0. The result without -O is correct.
Trac metadata
Trac field | Value |
---|---|
Version | |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | Compiler (NCG) |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | simonmar |
Operating system | |
Architecture |