]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: change ssa test to avoid go run -gcflags=-d=ssa/check/on
authorRuss Cox <rsc@golang.org>
Mon, 30 Oct 2017 23:53:58 +0000 (19:53 -0400)
committerRuss Cox <rsc@golang.org>
Tue, 31 Oct 2017 13:19:29 +0000 (13:19 +0000)
commit4b5018ce57095e3074c5cb88f9f15092e729ded1
tree5b72afaadb5eb3123f03dce4a59c8e0853639ea1
parent2beb173e9858c966a1db351883cfdccc8cdca583
cmd/compile: change ssa test to avoid go run -gcflags=-d=ssa/check/on

In the new content-based staleness world, setting -gcflags like this
recompiles all the packages involved in running the program, not just
the "stale" ones. So go run -gcflags=-d=ssa/check/on recompiles
runtime with those flags too, which is not what the test is trying
to check.

Change-Id: I4dbd5bf2970c3a622c01de84bd8aa9d5e9ec5239
Reviewed-on: https://go-review.googlesource.com/74570
Run-TryBot: Russ Cox <rsc@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: David Crawshaw <crawshaw@golang.org>
src/cmd/compile/internal/gc/ssa_test.go