[commit: ghc] master: T10870: Skip on 32-bit architectures (726cbc2)

git at git.haskell.org git at git.haskell.org
Wed Apr 6 19:32:22 UTC 2016


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/726cbc20018fea1da7d0bbfd26272ca06407fab9/ghc

>---------------------------------------------------------------

commit 726cbc20018fea1da7d0bbfd26272ca06407fab9
Author: Ben Gamari <ben at smart-cactus.org>
Date:   Wed Apr 6 17:12:45 2016 +0200

    T10870: Skip on 32-bit architectures
    
    Shifts by amounts greater-than-or-equal-to the word size are undefined.


>---------------------------------------------------------------

726cbc20018fea1da7d0bbfd26272ca06407fab9
 testsuite/tests/codeGen/should_run/all.T | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/testsuite/tests/codeGen/should_run/all.T b/testsuite/tests/codeGen/should_run/all.T
index 0dca7ad..c913951 100644
--- a/testsuite/tests/codeGen/should_run/all.T
+++ b/testsuite/tests/codeGen/should_run/all.T
@@ -137,6 +137,6 @@ test('T10414', [only_ways(['threaded2']), extra_ways(['threaded2']), req_smp],
      compile_and_run, ['-feager-blackholing'])
 test('T10521', normal, compile_and_run, [''])
 test('T10521b', normal, compile_and_run, [''])
-test('T10870', normal, compile_and_run, [''])
+test('T10870', when(wordsize(32), skip), compile_and_run, [''])
 test('PopCnt', omit_ways(['ghci']), multi_compile_and_run,
                  ['PopCnt', [('PopCnt_cmm.cmm', '')], ''])



More information about the ghc-commits mailing list