Skip to content

print002 testcase fails on PowerPC 64-bit

Summary

print002 fails on PowerPC 64-bit big-endian with arithmetic overflow.

Steps to reproduce

~/ghc> inplace/bin/ghc-stage2 --interactive
GHCi, version 8.9.20190330: https://www.haskell.org/ghc/  :? for help
Prelude> let f = Just(1.2::Float)
Prelude> f
Just 1.2
Prelude> :p f
f = Just*** Exception: arithmetic overflow

Expected behavior

Test passes.

Environment

  • GHC version used: 8.9.20190330

Optional:

  • Operating System: Linux
  • System Architecture: powerpc64 (big-endian)
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information