re PR go/66406 (go.test/test/nilptr.go FAILs with PIE)
authorIan Lance Taylor <iant@google.com>
Sat, 21 Nov 2015 01:47:13 +0000 (01:47 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Sat, 21 Nov 2015 01:47:13 +0000 (01:47 +0000)
PR go/66406
* go.test/go-test.exp (go-gc-tests): Skip nilptr.go if PIE.

From-SVN: r230697

gcc/testsuite/ChangeLog
gcc/testsuite/go.test/go-test.exp

index 982f320..eca6628 100644 (file)
@@ -1,3 +1,8 @@
+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.
+
 2015-11-20  Mike Stump  <mikestump@comcast.net>
 
        * g++.dg/init/vbase1.C: Only run on x86_64-*-* as this testcase
index d57751c..fd3e6a0 100644 (file)
@@ -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.