PR 64510 points out that the nilptr2.go test fails on targets that do not support split stacks, because it passes a huge structure on the stack. This patch avoids running the test on those targets. Bootstrapped and ran Go testsuite on x86_64-unknown-linux-gnu (where the test is not skipped, but at least there are no Tcl syntax errors). Committed to mainline.
Ian 2015-01-23 Ian Lance Taylor <i...@google.com> PR go/64510 * go.test/go-test.exp (go-gc-tests): Skip nilptr2.go test on targets without split stack support.
Index: go-test.exp =================================================================== --- go-test.exp (revision 219700) +++ go-test.exp (working copy) @@ -414,7 +414,8 @@ proc go-gc-tests { } { if { ( [file tail $test] == "select2.go" \ || [file tail $test] == "stack.go" \ - || [file tail $test] == "peano.go" ) \ + || [file tail $test] == "peano.go" \ + || [file tail $test] == "nilptr2.go" ) \ && ! [check_effective_target_split_stack] } { # These tests fails on targets without split stack. untested $name