compiler: always use int context for index values
authorIan Lance Taylor <iant@golang.org>
Sun, 29 Nov 2020 02:22:45 +0000 (18:22 -0800)
committerIan Lance Taylor <iant@golang.org>
Mon, 30 Nov 2020 20:07:39 +0000 (12:07 -0800)
commit8d8fea8a57068a0c5f0c1df766679a25f4272481
tree47eb514d19b2127fe8219778cbc704e2931908da
parent38f10841817a9fee28ee97c7115b6f4d24f5245d
compiler: always use int context for index values

For golang/go#14844

Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/273889
gcc/go/gofrontend/MERGE
gcc/go/gofrontend/expressions.cc
gcc/testsuite/go.test/test/shift1.go