]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: add test case for issue 38068
authorThan McIntosh <thanm@google.com>
Sun, 17 May 2020 18:36:55 +0000 (14:36 -0400)
committerThan McIntosh <thanm@google.com>
Fri, 29 May 2020 20:31:43 +0000 (20:31 +0000)
commit6851a55f28ae88f4c9809b241d737fe65a977dd3
tree2fd3d668c955c22d5c4ce3c5fc89a8688b28472f
parente8f5a33191b6b2690fdfda770272a650f4df631d
cmd/compile: add test case for issue 38068

New test case for issue 38068, which deals with build reproducibility:
do a pair of compilations, the first with the concurrent back end
turned on, and the second with -c=1, then check to make sure we get
the same output (using a test case that triggers late inlining into
wrapper methods).

Updates #38068.

Change-Id: I4afaf78898706a66985f09d18f6f6f29876c9017
Reviewed-on: https://go-review.googlesource.com/c/go/+/234417
Reviewed-by: Keith Randall <khr@golang.org>
Reviewed-by: Cherry Zhang <cherryyz@google.com>
Run-TryBot: Keith Randall <khr@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/cmd/compile/internal/gc/reproduciblebuilds_test.go
src/cmd/compile/internal/gc/testdata/reproducible/issue38068.go [new file with mode: 0644]