From: Russ Cox Date: Thu, 16 Jan 2014 15:11:06 +0000 (-0500) Subject: cmd/gc: fix race build X-Git-Tag: go1.3beta1~958 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=fbfb9430dc687d399ded22a38abab035e3fa462b;p=gostls13.git cmd/gc: fix race build Missed this case in CL 51010045. TBR=khr CC=golang-codereviews https://golang.org/cl/53200043 --- diff --git a/src/cmd/gc/sinit.c b/src/cmd/gc/sinit.c index ece0b8fdfa..f2100d53b7 100644 --- a/src/cmd/gc/sinit.c +++ b/src/cmd/gc/sinit.c @@ -359,6 +359,7 @@ staticcopy(Node *l, Node *r, NodeList **out) // copying someone else's computation. rr = nod(OXXX, N, N); *rr = *orig; + rr->orig = rr; // completely separate copy rr->type = ll->type; rr->xoffset += e->xoffset; *out = list(*out, nod(OAS, ll, rr));