aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/testsuite/ChangeLog5
-rw-r--r--gcc/testsuite/go.test/go-test.exp9
2 files changed, 13 insertions, 1 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 33646ee..d0ceb14 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -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-20 Uros Bizjak <ubizjak@gmail.com>
* gcc.target/x86_64/abi/avx/test_passing_unions.c: Avoid undefined
diff --git a/gcc/testsuite/go.test/go-test.exp b/gcc/testsuite/go.test/go-test.exp
index c559244..943a7f1 100644
--- a/gcc/testsuite/go.test/go-test.exp
+++ b/gcc/testsuite/go.test/go-test.exp
@@ -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