aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/cmd/compile/internal/gc/inl_test.go5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/cmd/compile/internal/gc/inl_test.go b/src/cmd/compile/internal/gc/inl_test.go
index 0dfd252372..7868c14aa6 100644
--- a/src/cmd/compile/internal/gc/inl_test.go
+++ b/src/cmd/compile/internal/gc/inl_test.go
@@ -144,6 +144,9 @@ func TestIntendedInlining(t *testing.T) {
},
"math/big": {
"bigEndianWord",
+ // The following functions require the math_big_pure_go build tag.
+ "addVW",
+ "subVW",
},
}
@@ -202,7 +205,7 @@ func TestIntendedInlining(t *testing.T) {
}
}
- args := append([]string{"build", "-a", "-gcflags=all=-m -m"}, pkgs...)
+ args := append([]string{"build", "-a", "-gcflags=all=-m -m", "-tags=math_big_pure_go"}, pkgs...)
cmd := testenv.CleanCmdEnv(exec.Command(testenv.GoToolPath(t), args...))
pr, pw := io.Pipe()
cmd.Stdout = pw