diff options
author | Ian Lance Taylor <ian@gcc.gnu.org> | 2017-06-23 16:05:44 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2017-06-23 16:05:44 +0000 |
commit | bb96aa6726d1fac7e2500ef37d1193eed00b03f1 (patch) | |
tree | f9c9927c7f70e3dd316f3234661634304e55c10a /gcc/go | |
parent | 5f0b897b2ee47bf3845d924dd5bc3beb949bc78b (diff) | |
download | gcc-bb96aa6726d1fac7e2500ef37d1193eed00b03f1.zip gcc-bb96aa6726d1fac7e2500ef37d1193eed00b03f1.tar.gz gcc-bb96aa6726d1fac7e2500ef37d1193eed00b03f1.tar.bz2 |
runtime: don't crash if no p in kickoff
The kickoff function for g0 can be invoked without a p, for example
from mcall(exitsyscall0) in exitsyscall after exitsyscall has cleared
the p field. The assignment gp.param = nil will invoke a write barrier.
If gp.param is not already nil, this will require a p. Avoid the problem
for a specific case that is known to be OK: when the value in gp.param
is a *g.
Reviewed-on: https://go-review.googlesource.com/46512
From-SVN: r249595
Diffstat (limited to 'gcc/go')
-rw-r--r-- | gcc/go/gofrontend/MERGE | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/go/gofrontend/MERGE b/gcc/go/gofrontend/MERGE index 02be610..473eeca 100644 --- a/gcc/go/gofrontend/MERGE +++ b/gcc/go/gofrontend/MERGE @@ -1,4 +1,4 @@ -29c61dc3c5151df5de9362b7882ccf04679df976 +f107cc8bced1939b0083231fc1ea24669ca4832c The first line of this file holds the git revision number of the last merge done from the gofrontend repository. |