[commit: ghc] ghc-8.0: T10870: Skip on 32-bit architectures (2aadf81)

git at git.haskell.org git at git.haskell.org
Wed Apr 6 19:34:42 UTC 2016


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

On branch  : ghc-8.0
Link       : http://ghc.haskell.org/trac/ghc/changeset/2aadf813f4b23a91e3da8e66b2ebb0adb033b6bb/ghc

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

commit 2aadf813f4b23a91e3da8e66b2ebb0adb033b6bb
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.


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

2aadf813f4b23a91e3da8e66b2ebb0adb033b6bb
 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 0574d01..a390a70 100644
--- a/testsuite/tests/codeGen/should_run/all.T
+++ b/testsuite/tests/codeGen/should_run/all.T
@@ -140,6 +140,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', '')], ''])
\ No newline at end of file



More information about the ghc-commits mailing list