diff --git a/misc/cgo/test/issue7978.go b/misc/cgo/test/issue7978.go index 5feed07b95..9e2afcf8d4 100644 --- a/misc/cgo/test/issue7978.go +++ b/misc/cgo/test/issue7978.go @@ -82,6 +82,9 @@ func issue7978go() { } func test7978(t *testing.T) { + if runtime.Compiler == "gccgo" { + t.Skip("gccgo can not do stack traces of C code") + } if os.Getenv("GOTRACEBACK") != "2" { t.Fatalf("GOTRACEBACK must be 2") }