From 8003efe1b5520476c62c7fa6798150a61d621cde Mon Sep 17 00:00:00 2001 From: Matthew Dempsky Date: Tue, 9 Aug 2022 01:32:22 -0700 Subject: [PATCH] test: relax live.go for GOEXPERIMENT=unified This CL applies the same change to test/live.go that was previously applied to test/live_regabi.go in golang.org/cl/415240. This wasn't noticed at the time though, because GOEXPERIMENT=unified was only being tested on linux-amd64, which is a regabi platform. Change-Id: I0c75c2b7097544305e4174c2f5ec6ec283c81a8e Reviewed-on: https://go-review.googlesource.com/c/go/+/422254 TryBot-Result: Gopher Robot Reviewed-by: Cuong Manh Le Reviewed-by: David Chase Run-TryBot: Matthew Dempsky --- test/live.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/live.go b/test/live.go index 6130f7f069..46fec2afd8 100644 --- a/test/live.go +++ b/test/live.go @@ -1,4 +1,5 @@ // errorcheckwithauto -0 -l -live -wb=0 -d=ssa/insert_resched_checks/off +//go:build !ppc64 && !ppc64le && !goexperiment.regabiargs // +build !ppc64,!ppc64le,!goexperiment.regabiargs // ppc64 needs a better tighten pass to make f18 pass @@ -606,7 +607,7 @@ func f38(b bool) { printnl() case *fi38(2) = <-fc38(): // ERROR "live at call to fc38:( .autotmp_[0-9]+)+$" "live at call to fi38:( .autotmp_[0-9]+)+$" "stack object .autotmp_[0-9]+ string$" printnl() - case *fi38(3), *fb38() = <-fc38(): // ERROR "stack object .autotmp_[0-9]+ string$" "live at call to fc38:( .autotmp_[0-9]+)+$" "live at call to fi38:( .autotmp_[0-9]+)+$" + case *fi38(3), *fb38() = <-fc38(): // ERROR "stack object .autotmp_[0-9]+ string$" "live at call to f[ibc]38:( .autotmp_[0-9]+)+$" printnl() } printnl() -- 2.50.0