aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>2024-06-07 10:12:09 +0200
committerRainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>2024-06-07 10:12:09 +0200
commit9ab90fc627301b1701cf19bf4ca220f02a93d894 (patch)
tree044dcf931dbfb717f55e06ae4ca9f1ba00324ef0
parent51046e46ae66ca95bf2b93ae60f0c4d6b338f8af (diff)
downloadgcc-9ab90fc627301b1701cf19bf4ca220f02a93d894.zip
gcc-9ab90fc627301b1701cf19bf4ca220f02a93d894.tar.gz
gcc-9ab90fc627301b1701cf19bf4ca220f02a93d894.tar.bz2
testsuite: go: Require split-stack support for go.test/test/index0.go [PR87589]
The index0-out.go test FAILs on Solaris (SPARC and x86, 32 and 64-bit), as well as several others: FAIL: ./index0-out.go execution, -O0 -g -fno-var-tracking-assignments The test SEGVs because it tries a stack acess way beyond the stack area. As Ian analyzed in the PR, the testcase currently requires split-stack support, so this patch requires just that. Tested on i386-pc-solaris2.11 and sparc-sun-solaris2.11. 2024-06-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> gcc/testsuite: PR go/87589 * go.test/go-test.exp (go-gc-tests): Require split-stack support for index0.go.
-rw-r--r--gcc/testsuite/go.test/go-test.exp3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/testsuite/go.test/go-test.exp b/gcc/testsuite/go.test/go-test.exp
index 8fdc7b4..9831738 100644
--- a/gcc/testsuite/go.test/go-test.exp
+++ b/gcc/testsuite/go.test/go-test.exp
@@ -477,7 +477,8 @@ proc go-gc-tests { } {
if { ( [file tail $test] == "select2.go" \
|| [file tail $test] == "stack.go" \
|| [file tail $test] == "peano.go" \
- || [file tail $test] == "nilptr2.go" ) \
+ || [file tail $test] == "nilptr2.go" \
+ || [file tail $test] == "index0.go" ) \
&& ! [check_effective_target_split_stack] } {
# These tests fails on targets without split stack.
untested $name