Commit fba054c2 by Dominik Vogt Committed by Andreas Krebbel

S/390: Set GOARCH to the current target when testing multiarch.

The attached patch fixes a test failure of go.test/test/env.go on
s390x biarch.  Bootstrapped and regression tested on s390x biarch
and s390.

gcc/testsuite/ChangeLog

2016-03-04  Dominik Vogt  <vogt@linux.vnet.ibm.com>

	PR testsuite/69766
	* go.test/go-test.exp: S/390: Set GOARCH to the current target when
	testing multiarch.

From-SVN: r233959
parent f10cdc6c
2016-03-04 Dominik Vogt <vogt@linux.vnet.ibm.com>
PR testsuite/69766
* go.test/go-test.exp: S/390: Set GOARCH to the current target when
testing multiarch.
2016-03-04 Jakub Jelinek <jakub@redhat.com> 2016-03-04 Jakub Jelinek <jakub@redhat.com>
PR debug/69947 PR debug/69947
......
...@@ -248,11 +248,12 @@ proc go-set-goarch { } { ...@@ -248,11 +248,12 @@ proc go-set-goarch { } {
} }
} }
} }
"s390-*-*" { "s390*-*-*" {
set goarch "s390" if [check_effective_target_ilp32] {
} set goarch "s390"
"s390x-*-*" { } else {
set goarch "s390x" set goarch "s390x"
}
} }
"sparc*-*-*" { "sparc*-*-*" {
if [check_effective_target_ilp32] { if [check_effective_target_ilp32] {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment