OSDN Git Service

sync/atomic: Disable tests which can't run based on pointer size.
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 12 Feb 2012 05:57:02 +0000 (05:57 +0000)
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 12 Feb 2012 05:57:02 +0000 (05:57 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@184136 138bc75d-0d04-0410-961f-82ee72b054a4

libgo/go/sync/atomic/atomic_test.go

index ad75576..a06c85c 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
        }
 }