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
+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>
PR debug/69947
}
}
}
- "s390-*-*" {
- set goarch "s390"
- }
- "s390x-*-*" {
- set goarch "s390x"
+ "s390*-*-*" {
+ if [check_effective_target_ilp32] {
+ set goarch "s390"
+ } else {
+ set goarch "s390x"
+ }
}
"sparc*-*-*" {
if [check_effective_target_ilp32] {