aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2015-02-20 13:55:50 -0500
committerRuss Cox <rsc@golang.org>2015-02-21 14:03:14 +0000
commitc80ff3cb8777301bf141437bc0a5f9d6c9df3812 (patch)
treebe56ed3961122e0540405f243b37e8e0ad43efc6
parentf6791da7adc338e9b37c175c116845def45d2f54 (diff)
downloadgo-c80ff3cb8777301bf141437bc0a5f9d6c9df3812.tar.gz
go-c80ff3cb8777301bf141437bc0a5f9d6c9df3812.zip
[dev.cc] cmd/go: reenable verifyCompiler
Change-Id: Ic7367f2c6e6d4e6b802ce8436022412a1862ca58 Reviewed-on: https://go-review.googlesource.com/5472 Reviewed-by: Rob Pike <r@golang.org>
-rw-r--r--src/cmd/go/build.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/go/build.go b/src/cmd/go/build.go
index aebbc3e39a..db1c93b8ac 100644
--- a/src/cmd/go/build.go
+++ b/src/cmd/go/build.go
@@ -1630,7 +1630,7 @@ func (gcToolchain) linker() string {
// verifyCompiler specifies whether to check the compilers written in Go
// against the assemblers written in C. If set, asm will run both (say) 6g and new6g
// and fail if the two produce different output files.
-const verifyCompiler = false
+const verifyCompiler = true
func (gcToolchain) gc(b *builder, p *Package, archive, obj string, asmhdr bool, importArgs []string, gofiles []string) (ofile string, output []byte, err error) {
if archive != "" {