Go testsuite patch committed: Skip nilptr.go if PIE
Ian Lance Taylor
iant@golang.org
Sat Nov 21 04:00:00 GMT 2015
This patch to the Go testsuite skips the nilptr.go test when the
default is to produce PIE. This should fix GCC PR 66406. Ran Go
testsuite on x86_64-pc-linux-gnu. Committed to mainline.
Ian
2015-11-20 Ian Lance Taylor <iant@google.com>
PR go/66406
* go.test/go-test.exp (go-gc-tests): Skip nilptr.go if PIE.
-------------- next part --------------
Index: go.test/go-test.exp
===================================================================
--- go.test/go-test.exp (revision 229630)
+++ go.test/go-test.exp (working copy)
@@ -398,6 +398,11 @@ proc go-gc-tests { } {
}
}
+ if [check_effective_target_pie_enabled] {
+ untested $test
+ continue
+ }
+
if { [file tail $test] == "init1.go" } {
# This tests whether GC runs during init, which for gccgo
# it currently does not.
More information about the Gcc-patches
mailing list