runtime: clear isSystemGoroutine in goexit
commit2c12e7c9c367312ee1a21dfd3b9cfff0ba7cf4d1
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 13 Jun 2017 00:43:56 +0000 (13 00:43 +0000)
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 13 Jun 2017 00:43:56 +0000 (13 00:43 +0000)
tree7eb733a5b30639c426714eac9d7dfeacc3b95c4f
parent1df9198cc907f5f652a9b61cc5c11dcb7d61fb41
runtime: clear isSystemGoroutine in goexit

    Otherwise it may be set when the g struct is reused via gfput/gfget.

    Test is golang.org/x/net/http2 with GOMAXPROCS=12.

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@249143 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/go/gofrontend/MERGE
libgo/go/runtime/proc.go