compiler, runtime: provide index information on bounds check failure
authorIan Lance Taylor <ian@gcc.gnu.org>
Wed, 28 Aug 2019 18:27:30 +0000 (18:27 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Wed, 28 Aug 2019 18:27:30 +0000 (18:27 +0000)
commitfc4f90f0c8eca75fb90c736476360584f68d7ef9
treeff64bd8a2576d7eb0b85638a14cc3a761cb72db1
parent464969eb9b47eb2f24403c74c16769a58dbaa638
compiler, runtime: provide index information on bounds check failure

    This implements https://golang.org/cl/161477 in the gofrontend.

    Updates golang/go#30116

    Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/191881

From-SVN: r274998
gcc/go/gofrontend/MERGE
gcc/go/gofrontend/expressions.cc
gcc/go/gofrontend/expressions.h
gcc/go/gofrontend/gogo.cc
gcc/go/gofrontend/runtime.cc
gcc/go/gofrontend/runtime.def
libgo/go/runtime/error.go
libgo/go/runtime/panic.go
libgo/go/runtime/panic32.go [new file with mode: 0644]
libgo/mkruntimeinc.sh