diff options
author | ian <ian@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-08-15 22:16:55 +0000 |
---|---|---|
committer | ian <ian@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-08-15 22:16:55 +0000 |
commit | 7ab786d4b60e8a0b60df9121fe5cc86cd0d00c04 (patch) | |
tree | 10f68c18e901d8676d7ae891ed007e6c0be2ca75 /libgo | |
parent | 64d8d39e1f719bd083cb3bb3a228c07d696f98bf (diff) | |
download | gcc-7ab786d4b60e8a0b60df9121fe5cc86cd0d00c04.tar.gz |
runtime: Don't get confused if m changes during runtime_gc.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@214048 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgo')
-rw-r--r-- | libgo/runtime/mgc0.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libgo/runtime/mgc0.c b/libgo/runtime/mgc0.c index 4b78f3bda56..2d6328fbac3 100644 --- a/libgo/runtime/mgc0.c +++ b/libgo/runtime/mgc0.c @@ -2204,6 +2204,7 @@ runtime_gc(int32 force) g->status = Gwaiting; g->waitreason = "garbage collection"; runtime_mcall(mgc); + m = runtime_m(); } // all done |