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.