libgo: handle go1.10+ correctly in match.sh
authorNikhil Benesch <nikhil.benesch@gmail.com>
Wed, 7 Oct 2020 05:14:49 +0000 (01:14 -0400)
committerIan Lance Taylor <iant@golang.org>
Wed, 7 Oct 2020 19:25:37 +0000 (12:25 -0700)
commit89d3af5ef7e313efd7a5e88a4c629b4704cfe976
treee02c1ce37dc158343930dfca0a102cc648166f8a
parent1e247c60df52e93c9814a3a1789a63bc07aa4542
libgo: handle go1.10+ correctly in match.sh

match.sh was not correctly handling build constraints for Go versions
that have a two-digit suffix, like "go1.10".

The same issue will arise with Go 1.100, but that is a long ways off.

Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/260077
gcc/go/gofrontend/MERGE
libgo/match.sh
libgo/testsuite/gotest