]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
sync/atomic: Disable tests which can't run based on pointer size.
authorIan Lance Taylor <ian@gcc.gnu.org>
Sun, 12 Feb 2012 05:57:02 +0000 (05:57 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Sun, 12 Feb 2012 05:57:02 +0000 (05:57 +0000)
From-SVN: r184136

libgo/go/sync/atomic/atomic_test.go

index ad7557650f60895d95a2a7b79de6392e762cf18f..a06c85c3a9e5924a6b2f5ecf412affdc74f41feb 100644 (file)
@@ -636,6 +636,7 @@ func init() {
                // 64-bit system; clear uintptr tests
                hammer32[2].f = nil
                hammer32[5].f = nil
+               hammer32[6].f = nil
        }
 }
 
@@ -760,6 +761,7 @@ func init() {
                // 32-bit system; clear uintptr tests
                hammer64[2].f = nil
                hammer64[5].f = nil
+               hammer64[6].f = nil
        }
 }