mirror of
https://github.com/golang/go
synced 2024-10-02 22:25:08 +00:00
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 <gobot@golang.org> Reviewed-by: Cuong Manh Le <cuong.manhle.vn@gmail.com> Reviewed-by: David Chase <drchase@google.com> Run-TryBot: Matthew Dempsky <mdempsky@google.com>
This commit is contained in:
parent
d4280fda46
commit
8003efe1b5
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue