OSDN Git Service

* go.test/go-test.exp (go-set-goarch): Recognize powerpc*-*-*.
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 20 Apr 2012 20:19:16 +0000 (20:19 +0000)
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 20 Apr 2012 20:19:16 +0000 (20:19 +0000)
(go-gc-tests): Skip nilptr.go on powerpc*-*-*.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@186643 138bc75d-0d04-0410-961f-82ee72b054a4

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

index 939da80..36cd73b 100644 (file)
@@ -1,3 +1,8 @@
+2012-04-20  Ian Lance Taylor  <iant@google.com>
+
+       * go.test/go-test.exp (go-set-goarch): Recognize powerpc*-*-*.
+       (go-gc-tests): Skip nilptr.go on powerpc*-*-*.
+
 2012-04-17  Paolo Carlini  <paolo.carlini@oracle.com>
 
        PR c++/53003
index c559244..943a7f1 100644 (file)
@@ -217,6 +217,13 @@ proc go-set-goarch { } {
                return ""
            }
        }
+       "powerpc*-*-*" {
+           if [check_effective_target_ilp32] {
+               set goarch "ppc"
+           } else {
+               set goarch "ppc64"
+           }
+       }
        "sparc*-*-*" {
            if [check_effective_target_ilp32] {
                set goarch "sparc"
@@ -302,7 +309,7 @@ proc go-gc-tests { } {
        }
 
        # Handle certain tests in a target-dependant way.
-       if { [istarget "alpha*-*-*"] || [istarget "sparc*-*-solaris*"] } {
+       if { [istarget "alpha*-*-*"] || [istarget "sparc*-*-solaris*"] || [istarget "powerpc*-*-*"] } {
            if { [string match "*go.test/test/nilptr.go" $test] } {
                untested $test
                continue