]> git.ipfire.org Git - thirdparty/gcc.git/commit
runtime: in doscanstackswitch, set gp->m before gogo
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 7 Jan 2019 22:07:26 +0000 (22:07 +0000)
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 7 Jan 2019 22:07:26 +0000 (22:07 +0000)
commit0e963c2b3118f0084c80809ce9ae559437fe73e5
tree709c96bb2f7fb7e7419f59a1b0f0044acb36ce47
parentd633d0fb29ccd65199fc6d9a6ab7e5ea9dd2d77f
runtime: in doscanstackswitch, set gp->m before gogo

    This is following CL 156038. doscanstackswitch uses the same
    mechanism of switching goroutines as getTraceback, and so has
    the same problem as described in issue golang/go#29448. This CL
    applies the same fix.

    Reviewed-on: https://go-review.googlesource.com/c/156697

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