[commit: ghc] ghc-8.6: Fix T15502 on 32-bit (6cad8e3)
git at git.haskell.org
git at git.haskell.org
Tue Sep 18 14:19:24 UTC 2018
Repository : ssh://git@git.haskell.org/ghc
On branch : ghc-8.6
Link : http://ghc.haskell.org/trac/ghc/changeset/6cad8e31dc852594aad8512d01eb9730d3371249/ghc
>---------------------------------------------------------------
commit 6cad8e31dc852594aad8512d01eb9730d3371249
Author: Krzysztof Gogolewski <krz.gogolewski at gmail.com>
Date: Fri Sep 14 14:38:42 2018 +0200
Fix T15502 on 32-bit
Summary:
The expected output uses a hardcoded value for
maxBound :: Int.
This should fix one of circleci failures on i386.
Test Plan: make test TEST=T15502
Reviewers: RyanGlScott, bgamari
Reviewed By: RyanGlScott
Subscribers: rwbarton, carter
GHC Trac Issues: #15502
Differential Revision: https://phabricator.haskell.org/D5151
(cherry picked from commit ecbe26b6966a3a64f4e22e862370536b1dd4440f)
>---------------------------------------------------------------
6cad8e31dc852594aad8512d01eb9730d3371249
testsuite/tests/th/T15502.stderr-ws-32 | 4 ++++
testsuite/tests/th/{T15502.stderr => T15502.stderr-ws-64} | 0
2 files changed, 4 insertions(+)
diff --git a/testsuite/tests/th/T15502.stderr-ws-32 b/testsuite/tests/th/T15502.stderr-ws-32
new file mode 100644
index 0000000..ba7b91c
--- /dev/null
+++ b/testsuite/tests/th/T15502.stderr-ws-32
@@ -0,0 +1,4 @@
+T15502.hs:7:19-56: Splicing expression
+ lift (toInteger (maxBound :: Int) + 1) ======> 2147483648
+T15502.hs:8:19-40: Splicing expression
+ lift (minBound :: Int) ======> (-2147483648)
diff --git a/testsuite/tests/th/T15502.stderr b/testsuite/tests/th/T15502.stderr-ws-64
similarity index 100%
rename from testsuite/tests/th/T15502.stderr
rename to testsuite/tests/th/T15502.stderr-ws-64
More information about the ghc-commits
mailing list