summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMoritz Angermann <moritz.angermann@gmail.com>2020-09-09 15:34:03 +0000
committerMoritz Angermann <moritz.angermann@gmail.com>2021-05-07 09:17:23 +0800
commit8a36ebfa439c7bb46e241717c523b9ab7f76f2fe (patch)
tree80b7245729caf1cb923d44ab5831b06a1d1a5eb4
parent79019dd6f1712f83bb72f30594610b04918c41d4 (diff)
downloadhaskell-8a36ebfa439c7bb46e241717c523b9ab7f76f2fe.tar.gz
[Aarch64] No div-by-zero; disable test.
(cherry picked from commit 3592d1104c47b006fd9f4127d93916f477a6e010)
-rw-r--r--testsuite/tests/rts/all.T5
1 files changed, 5 insertions, 0 deletions
diff --git a/testsuite/tests/rts/all.T b/testsuite/tests/rts/all.T
index 848314928a..085e4b1f12 100644
--- a/testsuite/tests/rts/all.T
+++ b/testsuite/tests/rts/all.T
@@ -53,6 +53,11 @@ test('divbyzero',
# behavior on division-by-zero (#10332).
omit_ways(llvm_ways),
when(not(have_ncg()), skip),
+ # Aarch64 does not have div-by-zero exceptions for sdiv/udiv.
+ # The only option would be to implement this in assembly with checks for
+ # each devision. Neither gcc, nor llvm do this as of right now. Microsoft
+ # apparently does so though?
+ when(arch('aarch64'), skip),
# Apparently the output can be different on different
# Linux setups, so just ignore it. As long as we get
# the right exit code we're OK.