]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: by default accept any language
authorIan Lance Taylor <iant@golang.org>
Tue, 13 Nov 2018 23:36:02 +0000 (15:36 -0800)
committerIan Lance Taylor <iant@golang.org>
Wed, 14 Nov 2018 00:08:05 +0000 (00:08 +0000)
commit69397422c0ac74f9f9ec8e2b3e6d0b0b7ab1b697
tree705781c0b4999337c1b296adb02a99e732d85959
parenta3c70e28edf7f0202ab35b64c9d83644761cf033
cmd/compile: by default accept any language

The bootstrap stage 1 compiler was defaulting to the language version
used by the bootstrap compiler itself, typically 1.4. Normally this
doesn't matter since the bootstrap code has to build with 1.4 anyhow,
but it broke the boringcrypto branch which uses cgo during the
bootstrap, as cgo now generates code that uses type aliases.

Change-Id: I8a8312bb9ca4befaf65c00a8d71a78566075c2f7
Reviewed-on: https://go-review.googlesource.com/c/149459
Run-TryBot: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Filippo Valsorda <filippo@golang.org>
src/cmd/compile/internal/gc/main.go