* go.test/go-test.exp (go-set-goarch): Recognize powerpc*-*-*.
(go-gc-tests): Skip nilptr.go on powerpc*-*-*.
From-SVN: r186642
+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
return ""
}
}
+ "powerpc*-*-*" {
+ if [check_effective_target_ilp32] {
+ set goarch "ppc"
+ } else {
+ set goarch "ppc64"
+ }
+ }
"sparc*-*-*" {
if [check_effective_target_ilp32] {
set goarch "sparc"
}
# 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