compiler, runtime: better stack trace for `go f()` where f is nil
commit789c8746707c870f6d3aa4e33f81e362914a398c
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 22 Jun 2017 04:13:36 +0000 (22 04:13 +0000)
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 22 Jun 2017 04:13:36 +0000 (22 04:13 +0000)
treeb318ec0d3a71e91a29241ff9dbe39c796b084a0a
parent0a54e2a6031f4ada89dfc7c9696afcabace2d2f4
compiler, runtime: better stack trace for `go f()` where f is nil

    The test for this is TestGoNil in the runtime package, which we don't
    run yet but will run with a subsequent gotools patch.

    Updates golang/go#8045

    Reviewed-on: https://go-review.googlesource.com/46392

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@249494 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/go/gofrontend/MERGE
gcc/go/gofrontend/gogo.h
gcc/go/gofrontend/statements.cc
libgo/runtime/go-runtime-error.c