Commit d12b08d2 authored by Ian Lance Taylor's avatar Ian Lance Taylor

test: disable a couple of precise GC tests for gccgo

R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/41610043
parent e8a1de72
......@@ -23,6 +23,10 @@ func main() {
if runtime.GOARCH != "amd64" {
return
}
// Likewise for gccgo.
if runtime.Compiler == "gccgo" {
return
}
N := 10
count := int32(N)
var wg sync.WaitGroup
......
......@@ -31,9 +31,10 @@ func run() error {
}
func main() {
// Does not work on 32-bits due to partially conservative GC.
// Does not work on 32-bits, or with gccgo, due to partially
// conservative GC.
// Try to enable when we have fully precise GC.
if runtime.GOARCH != "amd64" {
if runtime.GOARCH != "amd64" || runtime.Compiler == "gccgo" {
return
}
count = N
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment