From: Ian Lance Taylor Date: Fri, 20 Apr 2012 20:18:49 +0000 (+0000) Subject: go-test.exp (go-set-goarch): Recognize powerpc*-*-*. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4c1e23754a14f36c9311087ad28c326fd0fc6c6c;p=gcc.git go-test.exp (go-set-goarch): Recognize powerpc*-*-*. * go.test/go-test.exp (go-set-goarch): Recognize powerpc*-*-*. (go-gc-tests): Skip nilptr.go on powerpc*-*-*. From-SVN: r186642 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 33646eeff68..d0ceb140a21 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2012-04-20 Ian Lance Taylor + + * go.test/go-test.exp (go-set-goarch): Recognize powerpc*-*-*. + (go-gc-tests): Skip nilptr.go on powerpc*-*-*. + 2012-04-20 Uros Bizjak * 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 c55924431d3..943a7f1a1a7 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