This patch to libgo fixes some tests on s390x that rely on assembler code that is not (yet) implemented for gccgo. The tests are simply marked to be ignored. This fixes GCC PR 79443. Bootstrapped and tested on x86_64-pc-linux-gnu and (by Dominik Vogt) on s390x. Committed to mainline.
Ian
Index: gcc/go/gofrontend/MERGE =================================================================== --- gcc/go/gofrontend/MERGE (revision 245052) +++ gcc/go/gofrontend/MERGE (working copy) @@ -1,4 +1,4 @@ -7fa4eb4b7a32953c2e838f1b0c684a6733172b43 +c3935e1f20ad5b1d4c41150f11fb266913c04df7 The first line of this file holds the git revision number of the last merge done from the gofrontend repository. Index: libgo/go/crypto/sha256/fallback_test.go =================================================================== --- libgo/go/crypto/sha256/fallback_test.go (revision 245052) +++ libgo/go/crypto/sha256/fallback_test.go (working copy) @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +// +build ignore // +build s390x package sha256 Index: libgo/go/math/export_s390x_test.go =================================================================== --- libgo/go/math/export_s390x_test.go (revision 245052) +++ libgo/go/math/export_s390x_test.go (working copy) @@ -2,6 +2,8 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +// +build ignore + package math // Export internal functions and variable for testing.